API Reference

API Keys

Mint and revoke machine credentials (session only).

7 endpoints· Auth: JWT
get/api/v1/console/developers/api-keys JWT

The branch's keys, metadata only, newest first

Revoked keys are included by default — a revoked key is evidence. Tombstoned ones never are.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Query parameters

IncludeRevoked
boolean
FR-API-064 — revoked keys are listed by default, and that is the point: a revoked key is evidence. Hiding it would make "was this credential ever issued, and who killed it" a question the console cannot answer. A tombstoned key is a different thing and is never listed (FR-API-141).
Environment
string
`live` or `test`; null lists both.
Page
integer (int32)
—
PerPage
integer (int32)
—
Search
string
Free-text filter. Its meaning is per-resource and documented on the endpoint.
Skip
integer (int32)
Rows to skip, derived — never sent by the caller on this surface.
Sort
string
A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order.
Dir
string
`asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post/api/v1/console/developers/api-keys JWT

Mint a key.,

The response carries the plaintext, once. It is not recoverable afterwards, and the console must present it accordingly. Nothing on this path logs the body.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Request body

application/json
{
  "name": "string",
  "description": "string",
  "environment": "string",
  "scopes": [
    "string"
  ],
  "expiresAt": "2026-11-27T14:05:13.942Z",
  "rateLimitPerMinute": 0,
  "quotaPerDay": 0,
  "allowedIps": [
    "string"
  ],
  "allowedOrigins": [
    "string"
  ]
}
name
string
What this credential is for. Shown in the console list and in the audit row.
description
string
—
environment
string
`live` or `test` (FR-API-133). Defaults to `live`, because a key minted through the console is overwhelmingly for a real integration and a silent default of `test` would produce credentials that fail in production for a reason nobody can see.
scopes
string[]
The scope set, from `ApiScopes.All`. <b>Least privilege</b>: effective permission is scope AND capability, so a scope the minting user's role does not carry grants nothing — but asking for one is still refused, loudly, rather than quietly granted-and-ignored.
expiresAt
string (date-time)
Hard expiry (FR-API-133). NULL is permitted and the response carries a warning: a never-expiring key is a permanent credential.
rateLimitPerMinute
integer (int32)
Per-key override; null inherits the plan default (FR-API-131).
quotaPerDay
integer (int64)
Hard daily call ceiling; null = none (FR-API-131).
allowedIps
string[]
CIDR strings; empty = any source address (FR-API-132).
allowedOrigins
string[]
Origins for browser-issued calls; empty = server-to-server only (FR-API-132).

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "name": "string",
  "description": "string",
  "environment": "string",
  "scopes": [
    "string"
  ],
  "expiresAt": "2026-11-27T14:05:13.941Z",
  "rateLimitPerMinute": 0,
  "quotaPerDay": 0,
  "allowedIps": [
    "string"
  ],
  "allowedOrigins": [
    "string"
  ]
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
get/api/v1/console/developers/api-keys/{id} JWT

One key

A key in another branch reads as `NOT_FOUND`.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys/{id}" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
put/api/v1/console/developers/api-keys/{id} JWT

Edit a live key's name, description, rate limit, daily quota and expiry (Sendy parity)

A revoked key is a 409.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "name": "string",
  "description": "string",
  "rateLimitPerMinute": 0,
  "quotaPerDay": 0,
  "expiresAt": "2026-11-27T14:05:13.942Z"
}
name
string
—
description
string
—
rateLimitPerMinute
integer (int32)
—
quotaPerDay
integer (int64)
—
expiresAt
string (date-time)
—

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "name": "string",
  "description": "string",
  "rateLimitPerMinute": 0,
  "quotaPerDay": 0,
  "expiresAt": "2026-11-27T14:05:13.941Z"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post/api/v1/console/developers/api-keys/{id}/revoke JWT

Revoke a key, with a reason.,

The reason vocabulary is served by `GET /api/v1/console/settings/revoke-reasons` — a merchant-extensible reference table, not a constant in this module.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "reasonCode": "string",
  "note": "string"
}
reasonCode
string
A `revoke_reason` row's `code` — seeded as `rotated`, `compromised`, `offboarding`, `expired_unused`, `manual`, and extensible per branch through `GET/POST /api/v1/console/settings/revoke-reasons`. The service resolves it to the row's id; an unknown code is refused rather than stored as free text.
note
string
Free-text context, recorded in the audit row only.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys/{id}/revoke" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "reasonCode": "string",
  "note": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post/api/v1/console/developers/api-keys/{id}/rotate JWT

Rotate a key

`POST` rather than `PUT`: this is not an idempotent replacement of the row at `{id}`. It mints a second row and puts the first into a grace window, and calling it twice legitimately produces two successors.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "graceMinutes": 0,
  "name": "string"
}
graceMinutes
integer (int32)
How long the predecessor keeps working, in minutes. Clamped by the service. Zero is permitted and means "cut over now" — the right answer for a leaked key, and the wrong one for a scheduled rotation.
name
string
Optional new name for the successor. Defaults to the predecessor's, because the successor is the same integration and renaming it on rotation makes the chain unreadable.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys/{id}/rotate" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "graceMinutes": 0,
  "name": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
get/api/v1/console/developers/api-keys/scopes JWT

The scopes the minting form may offer, each marked with whether this user can confer it

Declared before `{id:guid}` so the literal segment is matched first — although the route constraint would keep them apart anyway, ordering the literal first is the habit that survives someone later relaxing the constraint.

Capability
manage_api_keys
Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/api-keys/scopes" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu