Docs

API reference · Identity and tokens

List live API tokens, newest first, with their expiry state

GET/v1/orgs/{org}/api-tokens
Permission
iam.api_tokens.read
Operation
iam.api_tokens.list

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 200

FieldTypeRequiredNotes
itemsarray of objectyes
items[].idstringyesfor example "token_01h455vb4pex5vsknk084sn02q"
items[].namestringyes1 to 100 characters
items[].permissionsarray of stringyes
items[].createdAtstring (date-time)yesUTC, ISO 8601.
items[].expiresAtstring (date-time) or nullyes
items[].lastUsedAtstring (date-time) or nullyes
items[].managementobject or nullyes
items[].management.assignmentIdstringyesfor example "masg_01h455vb4pex5vsknk084sn02q"
items[].management.linkIdstringyesfor example "mlink_01h455vb4pex5vsknk084sn02q"
items[].management.providerOrgIdstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
items[].sourceEndedbooleanyes
items[].expiredbooleanyes
nextCursorstring or nullyes