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-12-19T17:48:28.164Z",
"id": "f42c4dfa-31c9-4c93-95ad-705c4d72f41b",
"is_valid": true,
"label": "uAnwljVpJiIzmHiEa7CLW0",
"token": "y3QqHmlRyDYOSui2r",
"updated_at": "2024-12-19T17:48:28.164Z",
"user_id": "00ffa328-b838-4a6e-bfc5-c46e41454a0a"
}