API → UsersUpdate your user
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
missing_payment_method
: The user is missing a payment method and has exceeded their free API call credits for the month.payment_method_failed
: The users payment method has failed.
put
/user$ curl -X PUT "https://api.zoo.dev/user" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"company": "QiKQmV6OmqbF6YPGqTuOsc5UW9x",
"discord": "hSJ",
"first_name": "kMIxfIEFS0xH9Qy",
"github": "Tl7B1Ht81Ev3",
"image": "https://.BSSLg3gTGnI.com/P06cP08XRwdi/govZOiroV",
"is_onboarded": true,
"last_name": "s6OFcEAp7Yb",
"phone": "+1-518-422-8463"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": true,
"company": "WkvIoGX51i",
"created_at": "2025-07-03T15:42:27.189Z",
"deletion_scheduled": true,
"discord": "BSxPwGcRouufHIR3mEZ1",
"email": "MWF@5.com",
"email_verified": "2025-07-03T15:42:27.189Z",
"first_name": "SmIrgSvT1zCb5heQJpBjE",
"github": "3wugYnjo2",
"id": "50f3eaed-5468-4478-abfb-ad2d74a65f1f",
"image": "https://FSBL.nZWXKI08Q.com/mTJ/aak08tiaXji",
"is_onboarded": false,
"is_service_account": false,
"last_name": "CyOqnlUgUO6N3phA2Ehxi",
"name": "m5LOf",
"phone": "+1-678-752-9570",
"updated_at": "2025-07-03T15:42:27.189Z"
}