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-09-06T05:29:30.030Z",
  "id": "61c18adc-5ac9-436e-a258-05405a5e9f18",
  "is_valid": false,
  "label": "g63ZLLZwSShhdOIQ2LwGqAY7qZ",
  "token": "Yzrs2",
  "updated_at": "2025-09-06T05:29:30.030Z",
  "user_id": "f702173a-af2f-4d24-b6ba-b211ee7b739a"
}