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": "2025-04-17T14:08:41.455Z",
  "id": "a3289ac0-1284-4ded-a834-1b7b4aee1969",
  "is_valid": true,
  "label": "Kg",
  "token": "HNATWFsuse55xxOesxQQn",
  "updated_at": "2025-04-17T14:08:41.456Z",
  "user_id": "dacf430c-ee31-4cc4-a280-90e4f0257ee0"
}