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-07T17:15:48.737Z",
"id": "57381c12-75b8-4f2b-ab00-919ae3fd0971",
"is_valid": false,
"label": "MFw5q7UNA",
"token": "kF3emMuDG3eG",
"updated_at": "2025-01-07T17:15:48.737Z",
"user_id": "bc429d39-31c5-4561-87c1-3598658175ea"
}