API → Users → Get your user
Parameters
No parameters
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.
get
/user$ curl "https://api.zoo.dev/user" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"block": "missing_payment_method",
"can_train_on_data": false,
"company": "zhvHxnO",
"created_at": "2024-04-26T17:03:41.452Z",
"discord": "2lx7lZEM30EEolQnC8MFnC",
"email": "OgpozHEVWR@K56.com",
"email_verified": "2024-04-26T17:03:41.452Z",
"first_name": "GUx",
"github": "SEFkxD42qmMn5LNrfAtz38",
"id": "86ba1617-4940-44f1-acc9-19518765cc1c",
"image": "https://EJFUajHQ.1.com/69rIv8P4kb8/Fn2Rt8m",
"is_service_account": false,
"last_name": "zhgJEtBNMP8SYDOPoaDral6wb",
"name": "ZMp2N9fSk17JygJnfZVP",
"phone": "+1-607-228-8345",
"updated_at": "2024-04-26T17:03:41.452Z"
}