Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

List API tokens for an organization

GET/organizations/{organizationSlug}/tokens
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Path parameters
organizationSlugstringrequired
Responses
200

Tokens (secrets never included)

Array of ApiToken
idstringrequired
publicIdstringrequired
namestringrequired
scopesApiTokenScope[]required
lastUsedAtstring<date-time> | null
revokedAtstring<date-time> | null
createdAtstring<date-time>required
tokenstring

Full secret — only returned once on create

401

Missing or invalid API key

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

403

Forbidden

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

Try it
Server
Authorization
Parameters
Request
curl -X GET "https://api.seal.nyc/api/v1/organizations/string/tokens" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
[
  {
    "id": "string",
    "publicId": "string",
    "name": "string",
    "scopes": [
      "read"
    ],
    "lastUsedAt": "2019-08-24T14:15:22Z",
    "revokedAt": "2019-08-24T14:15:22Z",
    "createdAt": "2019-08-24T14:15:22Z",
    "token": "string"
  }
]