Get token by ID

  • GET
  • /user
  • /tokens
  • /:token_id

Returns the personal access token.

Request

REQUIRED SCOPES
TOKEN_INFO
POST PARAMETERS
token_idrequired string
The ID of the desired token.

Last modified on Sep 23, 2024

{
  "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"
  ]
}