API → Meta → Get an API token for a user by their discord idhidden
hidden
Parameters
Name
Type
Req.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject 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-09-20T22:41:22.878Z",
"id": "2921bde9-c6e6-4d82-a8a1-04277c4470c6",
"is_valid": false,
"label": "RX6rSAsLfCdklgM0O4Z7yTF",
"token": "ncMTIkOY2mhPMOj",
"updated_at": "2024-09-20T22:41:22.878Z",
"user_id": "84e5e6ea-13a3-42f9-91c9-729eba500f1d"
}