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
allowed_cidrsstring[] | nullThe networks the token is accepted from,
nullfor anywhere.created_atdate-timerequiredexpires_atdate-time | nulliduuidrequiredlast_used_atdate-time | nullnamestringrequiredprefixstringrequiredThe first characters of the token, enough to recognise it.
projectsstring[] | nullSlugs of the only projects the token reaches,
nullfor the whole workspace.roleRolerequiredscopesTokenScope[] | nullWhat the token may do,
nullfor all its role allows (tokens made before scopes existed).
curl "https://api.infraflow.app/v1/orgs/acme/tokens" \ -H "Authorization: Bearer $INFRAFLOW_TOKEN"
[
{
"allowed_cidrs": [
"string"
],
"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",
"projects": [
"string"
],
"role": "owner",
"scopes": [
"read"
]
}
]