Skip to content

List your API tokens

GET
/auth/tokens

Lists the API tokens on your account, newest first. Revoked tokens are left out, but expired ones are still listed. The token values themselves are never returned.

A token acts with your account’s full permissions: scopes can be recorded on it, but they aren’t enforced yet.

Your tokens, without their values.

Array<object>
object
id
required
string format: uuid
name
required
string
scopes
required
Array<string>
created_at
required
string format: date-time
expires_at
string format: date-time
nullable
last_used_at
string format: date-time
nullable

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}