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-05-09T17:46:21.809Z",
  "id": "eaf12a0e-d4c6-40ad-8f97-576bcd8cd99b",
  "is_valid": true,
  "label": "xrIq5MtNaHmZqWotDL4Q",
  "token": "zBsDsBw",
  "updated_at": "2025-05-09T17:46:21.809Z",
  "user_id": "afb58dbb-abd5-4d75-9042-18e9a6213188"
}