APIAPI TokensCreate a new API token for your user

Parameters

Name

Type

Req.

Returns

  • 201 Created

    successful creation

    Name

    Type

    Req.

    body

    object
    optional
    Object 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-08-14T21:14:03.035Z",
  "id": "20f0b88d-a25a-42a5-a197-41c3e07ee06d",
  "is_valid": true,
  "label": "0Q6VYzZCktFS0RqGOrxj68EA",
  "token": "Ie",
  "updated_at": "2025-08-14T21:14:03.035Z",
  "user_id": "a29faa25-4483-4dac-be26-fa87d052e8c8"
}