API → API Tokens → Create a new API token for your user
Parameters
Name
Type
Req.
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
post
/user/api-tokens$ curl -X POST "https://api.zoo.dev/user/api-tokens" \
--header "Authorization: Bearer $TOKEN"
201 Created
Response{
"created_at": "2025-01-09T18:24:50.590Z",
"id": "57ddfe58-f824-49c9-8733-825a86964713",
"is_valid": false,
"label": "xPkycG4IfpoYJnMccXaIn",
"token": "yEDMX9z5X",
"updated_at": "2025-01-09T18:24:50.590Z",
"user_id": "10b25b26-a6cd-430e-ae8d-6c82f91317a5"
}