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-04-26T17:02:12.564Z",
"id": "122c64c3-57e4-4eb9-aae1-b648e96231fb",
"is_valid": true,
"label": "TCku5hHNPZJI",
"token": "284b6d7e-cd89-4728-b372-68494af0422d",
"updated_at": "2024-04-26T17:02:12.564Z",
"user_id": "2f913eb4-c1dd-44b3-9ced-968139640355"
}