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-02-27T21:29:55.918Z",
  "id": "6bf48c70-addf-403b-85ff-8d9e9c1ac213",
  "is_valid": false,
  "label": "iFHtNEc4SsZu07IzS0mcosLZ",
  "token": "HHndjgTq3ISdpZD2",
  "updated_at": "2025-02-27T21:29:55.918Z",
  "user_id": "c18e3999-bd48-4b98-b705-d4b23c97cf52"
}