API keys
3 endpoints under /api/v1/tokens.
List your API tokens (with their org bindings)
Responses
200 Your tokens.
Response body
tokensPersonalToken[]requiredShow fields
idstringrequirednamestringrequiredstartstringrequiredenabledbooleanrequiredcreatedAtstring · date-timerequiredexpiresAtstring · date-timerequiredlastRequeststring · date-timerequiredorgSlugstringrequiredscopeobject[]requiredShow fields
rolestringrequiredroleNamestringrequiredresourceIdsstring[]required
401 Unauthenticated.
Response body
errorstringrequired
Mint an API token, bound to your acting organization
Request body
namestringrequiredexpiresInintegerscopeobject[]Show fields
rolestringrequiredresourceIdsstring[]
Responses
201 The token — shown once, store it safely.
Response body
idstringrequiredkeystringrequiredorgSlugstringrequired
401 Unauthenticated.
Response body
errorstringrequired
Roles and resources your own token may be narrowed to
Responses
200 Grantable roles (built-in + your org's custom roles) and the resources YOU can read — a token scope can never name more than its owner can see.
Response body
rolesTokenScopeRole[]requiredShow fields
idstringrequirednamestringrequireddescriptionstringrequiredscopablebooleanrequiredservicestring
resourcesTokenScopeResource[]requiredShow fields
servicestringrequiredidstringrequirednamestringrequired
401 Unauthenticated.
Response body
errorstringrequired