A user can mint a Personal Access Token scoped to no more than they themselves can do — then use it like any other bearer token.
The plaintext token is shown once, then stored only as a hash — so it can never be read back, even by us.
Tokens are fully self-service: list them, rotate the secret if one leaks, or revoke instantly. A revoked token stops working on its very next request.
Request
POST /v1/me/tokens
Authorization: Bearer eyJhbGc...
Content-Type: application/json
{
"name": "nightly-content-sync",
"scopes": ["blogs:read", "events:read"],
"expiresInDays": 90
}
Response — shown once
{
"name": "nightly-content-sync",
"token": "pat_9f8a7b6c5d4e3f2a1b0c...",
"scopes": ["blogs:read", "events:read"],
"expiresAt": "2026-09-06T00:00:00Z"
}