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-04-01T00:18:57.764Z",
"id": "a4320650-c684-4e5c-9db4-1b4b6cf38de8",
"is_valid": true,
"label": "JJkxUGDkAg07Y5hVSOlS3mifVWHqe",
"token": "xT2RT",
"updated_at": "2025-04-01T00:18:57.765Z",
"user_id": "7703d759-b7c7-4c49-9fd0-5ebd248747b7"
}