APIMetaGet 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-05-10T20:11:34.281Z",
  "id": "b7a292a6-53f8-4e79-8e37-4e938ced9b59",
  "is_valid": true,
  "label": "fR",
  "token": "9OYNyxWuxGnjvdp",
  "updated_at": "2025-05-10T20:11:34.281Z",
  "user_id": "f5225235-881e-444c-a1b2-9086eb161f9f"
}