GET
/
v1
/
public
/
token-info
Inspect the active API token
curl --request GET \
  --url http://localhost:8082/v1/public/token-info \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "tokenId": "tok_public_123",
    "label": "Starter token",
    "scopes": [
      "api.read",
      "api.write"
    ],
    "workspaceId": "ws_public_123",
    "organizationId": "org_public_123"
  }
}

Authorizations

Authorization
string
header
default:tok_public_demo
required

Send a workspace API token in the Authorization: Bearer <token> header.

Response

Token metadata returned successfully.

data
object
required