Get current token
- GET
- /user
- /token
Returns the personal token used for authorization.
Example:
CURLcurl -X GET "https://api.buddy.works/user/token" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
EXAMPLE RESPONSE{ "url": "https://api.buddy.works/user/tokens/ZGU2Mk5ODItMTczYy00MThkLWJiOGtNmJmzFjMWVlYjAy", "html_url": "https://app.buddy.works/api-tokens/details/ZGU2Mk5ODItMTczYy00MThkLWJiOGtNmJmzFjMWVlYjAy", "id": "ZGU2Mk5ODItMTczYy00MThkLWJiOGtNmJmzFjMWVlYjAy", "name": "My test token", "expires_at": "2023-03-28T13:46:39.238118Z", "scopes": [ "WORKSPACE" ], "ip_restrictions": [ "123.123.123.123" ], "workspace_restrictions": [ "buddy" ] }
STATUS200 OK
LIMITSX-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999