fastmon Docs
Api keys

List the organization's API keys

Fehler melden

The organization's keys - display metadata only, never the secret.

Lists what this organization issued: the keys that act here, and the ones it issued as an agency to act for its clients.

Each entry carries editable, the answer to "may I change this one": false for a key that holds permissions the caller does not. Revoking is never gated by it, so no second flag says so: whoever sees this list may pull anything on it.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <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.

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

Successful Response

application/json
  1. response
data*array<>
meta*
GET
/organizations/{org_id}/api-keys
curl -X GET 'https://api.fastmon.eu/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,      "via_partner_org_id": "4449850c-ca66-4d3c-b6e6-920e855223d4"    }  ],  "meta": {    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true  }}