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-03-12T01:36:09.512Z",
  "id": "f2cfbfc7-2a39-4b38-9ea3-ac1293fc3a8d",
  "is_valid": false,
  "label": "f",
  "token": "dsHv64WV9Tu",
  "updated_at": "2025-03-12T01:36:09.512Z",
  "user_id": "dbe46e14-d4d9-484d-831f-e871e03b708a"
}