API → API 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-04-21T20:00:45.090Z",
  "id": "ac641c5a-c28f-4a52-afaf-6b8a740a3d7d",
  "is_valid": true,
  "label": "3SLl1JNBO4N4K1ZzPTEwB",
  "token": "7LF5ShhMYB",
  "updated_at": "2025-04-21T20:00:45.090Z",
  "user_id": "479dd8a9-d881-43b9-acae-cad5b00c6c48"
}