Active API tokens of an organisation
GET/v1/orgs/{org}/tokens
API token or dashboard session
Active API tokens of an organisation.
Path parameters
orgstringpathrequiredOrganisation slug
Responses
200ApiToken[]
Fields of ApiToken
created_atdate-timerequiredexpires_atdate-time | nulliduuidrequiredlast_used_atdate-time | nullnamestringrequiredprefixstringrequiredThe first characters of the token, enough to recognise it.
roleRolerequired
curl "https://api.infraflow.app/v1/orgs/acme/tokens" \ -H "Authorization: Bearer $INFRAFLOW_TOKEN"
[
{
"created_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z",
"id": "0197b2a4-5c1e-7d3a-9f10-4b6c8e2a1d55",
"last_used_at": "2026-01-15T09:30:00Z",
"name": "my-app",
"prefix": "string",
"role": "owner"
}
]