fastmon Docs
Org keys

List Org Keys

Fehler melden

The org's keys - display metadata only, the secret is never returned.

Same shape as the personal key list; filter client-side is unnecessary because only kind='org' keys bound to this org appear here.

Each entry carries editable, which answers "may I change this one" for the caller - false for a key holding more than they do. The dashboard would otherwise have to rebuild that rule from the scopes and the caller's permissions, and one rule in two repositories drifts. Revoking is not gated by it and needs no flag: whoever sees this list may pull anything on it.

AuthentifizierungBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

In: header

Pfad-Parameter

org_id*Org Id
Formatuuid

Query-Parameter

include_revoked?Include Revoked

Also return revoked keys. Off by default so the list keeps meaning 'what can authenticate right now'.

Defaultfalse
offset?Offset
Range0 <= value
Default0
limit?Limit
Range1 <= value <= 100
Default50

Response-Body

application/json

application/json

application/json

application/json

application/json

GET
/organizations/{org_id}/api-keys
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/api-keys"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "personal",      "name": "string",      "prefix": "string",      "last4": "string",      "scopes": [],      "expires_at": "2019-08-24T14:15:22Z",      "last_used_at": "2019-08-24T14:15:22Z",      "reach": {        "scope": "string",        "partner_org_id": "6d083317-c55a-4f41-82ae-8c86d8187f47",        "organization_ids": [],        "organization_count": 0      },      "created_at": "2019-08-24T14:15:22Z",      "revoked_at": "2019-08-24T14:15:22Z",      "editable": true    }  ],  "meta": {    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true  }}