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-27T01:15:32.184Z",
  "id": "90f0e482-ec84-4d68-9138-803eea11d03d",
  "is_valid": true,
  "label": "xsK8kAtAS9sE8L2NZi6",
  "token": "M",
  "updated_at": "2024-07-27T01:15:32.184Z",
  "user_id": "c580db05-7c4f-4686-9fc3-82b0895c9c99"
}