API → MetaGet an API token for a user by their discord id
hidden

Parameters

Name

Type

Req.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
get
/internal/discord/api-token/{discord_id}
$ curl "https://api.zoo.dev/internal/discord/api-token/{discord_id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "created_at": "2024-04-12T19:23:30.519Z",
  "id": "8332ab98-7c39-47ce-8e2c-f0cdefe051b0",
  "is_valid": false,
  "label": "Fza4LRWmjNF9ArtHekDNiyuUC",
  "token": "b6efc59f-8101-4fb5-92c9-545df696ec45",
  "updated_at": "2024-04-12T19:23:30.519Z",
  "user_id": "0930254c-0cbf-4f0b-aa77-ed41949042ef"
}