API → API TokensGet an API token for your user

Parameters

Name

Type

Req.

  • token

    string / UUID
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
get
/user/api-tokens/{token}
$ curl "https://api.zoo.dev/user/api-tokens/{token}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "created_at": "2024-07-12T16:21:33.002Z",
  "id": "12b3acf6-97e5-4b0b-8763-376310f24a8d",
  "is_valid": false,
  "label": "2qtU0Ynf5qmnoM6",
  "token": "b0c52bc7-805c-4462-9dfd-a38e64221d31",
  "updated_at": "2024-07-12T16:21:33.002Z",
  "user_id": "a8afc735-c70d-460c-8212-7554d1cfee8b"
}