API Reference

Webhooks

Subscriptions, deliveries and the event catalogue.

16 endpoints· Auth: JWT or API Key
get/api/v1/console/developers/webhook-deliveries JWT API Key

The branch's whole delivery log, across every endpoint

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Query parameters

SubscriptionId
string (uuid)
Narrow to one subscription. Cross-branch ids match nothing.
Status
string
`pending`, `sending`, `delivered`, `failed` or `exhausted`.
EventType
string
One of the five subscribable event types, or `panoptes.webhook.test`. <br><b>Six here, five on the subscription filter</b>, and the asymmetry is deliberate. The delivery log is the one read surface where the on-demand test type is a legal filter value, because it is the only place an operator can find a test send again — refusing it here would make the "send test" action produce a row the console cannot narrow to. The validator beside this DTO therefore judges the value with `WebhookEvents.IsDispatchable`; the subscription filter stays on the narrower `IsKnown`, so nobody can register an endpoint for an event no business action ever emits.
ResourceType
string
Narrow to deliveries about one kind of record (`order`, `webhook_subscription`…).
From
string (date-time)
Inclusive lower bound on `CreatedAt`.
To
string (date-time)
Inclusive upper bound on `CreatedAt`.
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/webhook-deliveries" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/developers/webhook-deliveries/{id} JWT API Key

One delivery with its payload and the receiver's last answer (Sendy parity)

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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/webhook-deliveries/{id}" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/developers/webhook-deliveries/{id}/retry JWT API Key

Re-queue a failed or exhausted delivery.,

The row is append-only: this is a lifecycle transition in place, never a duplicate row and never a delete.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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
{
  "reason": "string"
}
reason
string
Free-text context for the audit trail.

Responses

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

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/developers/webhook-deliveries/retry-failed JWT API Key

Create retry-failed

Re-queue every failed or exhausted delivery in the branch, optionally for one subscription (Sendy parity). Declared before `{id:guid}`.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Request body

application/json
{
  "subscriptionId": "00000000-0000-0000-0000-000000000000"
}
subscriptionId
string (uuid)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/webhook-deliveries/retry-failed" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "subscriptionId": "00000000-0000-0000-0000-000000000000"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/developers/webhooks JWT API Key

The branch's subscriptions, with rolling delivery health

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Query parameters

IncludeInactive
boolean
FR-API-096 — a deactivated subscription is listed by default. Deactivation is not deletion: the row stays visible <b>with its delivery history</b>, which is the only way an operator can answer "why did this partner stop receiving events".
EventType
string
Narrow to subscriptions carrying one event type from the closed vocabulary.
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/webhooks" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/developers/webhooks JWT

Register an endpoint.,,

The response carries the signing secret, once. It is sealed at rest and unsealed only at dispatch, so it cannot be shown again.

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
{
  "url": "string",
  "events": [
    "string"
  ],
  "apiVersion": "string"
}
url
string
The receiver. Must match `^https?://` (FR-API-098).
events
string[]
The events this endpoint wants, from `WebhookEvents.All` (FR-API-098, FR-API-115). Unknown names are filtered out; a list that intersects to nothing is refused, because a subscription matching no event is a URL that will never be called.
apiVersion
string
The contract version this endpoint is written against; defaults to `v1`. Stamped onto every delivery's `x-panoptes-api-version` header from the SUBSCRIPTION row rather than from a global constant (FR-API-117), so a future versioned subscription is dispatched under its own contract instead of being silently upgraded.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "url": "string",
  "events": [
    "string"
  ],
  "apiVersion": "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/webhooks/{id} JWT API Key

One subscription

Cross-branch reads as `NOT_FOUND`.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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/webhooks/{id}" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
put/api/v1/console/developers/webhooks/{id} JWT

Edit URL, events, API version or switch (Sendy parity)

Retired reads as 404.

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
{
  "url": "string",
  "events": [
    "string"
  ],
  "apiVersion": "string",
  "active": false
}
url
string
—
events
string[]
—
apiVersion
string
Null keeps the current version.
active
boolean
Null keeps the current switch.

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "url": "string",
  "events": [
    "string"
  ],
  "apiVersion": "string",
  "active": false
}'
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
delete/api/v1/console/developers/webhooks/{id} JWT API Key

Retire an endpoint for good, freeing its URL for reuse

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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
{
  "reason": "string"
}
reason
string
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/developers/webhooks/{id}/activate JWT API Key

Switch a deactivated endpoint back on

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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 POST "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}/activate" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/developers/webhooks/{id}/deactivate JWT API Key

Stop the fan-out without losing the history

Deliberately not `DELETE`: deactivation is reversible and keeps the row on screen. `DELETE` is the tombstone, below, and the two must not be the same button.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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
{
  "reason": "string"
}
reason
string
Why. Recorded in the audit row; never the signing secret (FR-API-097).

Responses

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

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/developers/webhooks/{id}/deliveries JWT API Key

One subscription's delivery log

The subscription id comes from the route and overwrites whatever the query string said: a nested resource whose parent can be overridden by a query parameter is a filter pretending to be a hierarchy.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
Plan feature
public_api must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Query parameters

SubscriptionId
string (uuid)
Narrow to one subscription. Cross-branch ids match nothing.
Status
string
`pending`, `sending`, `delivered`, `failed` or `exhausted`.
EventType
string
One of the five subscribable event types, or `panoptes.webhook.test`. <br><b>Six here, five on the subscription filter</b>, and the asymmetry is deliberate. The delivery log is the one read surface where the on-demand test type is a legal filter value, because it is the only place an operator can find a test send again — refusing it here would make the "send test" action produce a row the console cannot narrow to. The validator beside this DTO therefore judges the value with `WebhookEvents.IsDispatchable`; the subscription filter stays on the narrower `IsKnown`, so nobody can register an endpoint for an event no business action ever emits.
ResourceType
string
Narrow to deliveries about one kind of record (`order`, `webhook_subscription`…).
From
string (date-time)
Inclusive lower bound on `CreatedAt`.
To
string (date-time)
Inclusive upper bound on `CreatedAt`.
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/webhooks/{id}/deliveries" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/developers/webhooks/{id}/rotate-secret JWT

Replace the signing secret and return the new one once (Sendy parity)

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 POST "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}/rotate-secret" \
  -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
post/api/v1/console/developers/webhooks/{id}/test JWT API Key

Create test

Send one synthetic delivery to this endpoint, so an integrator can prove their receiver and their signature verification without waiting for a business event.,.

It queues a real delivery on the real path — same HMAC, same `x-panoptes-*` headers, same retry ladder — under the event type `panoptes.webhook.test`, which is deliberately absent from `event-types` above because nothing can subscribe to it.

201, and it returns the created delivery: the console's next move is to open the log at that row, and making it search for the row it just caused would be the wrong answer to "did it work".

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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
{
  "reason": "string"
}
reason
string
Free-text context — why this test was sent. Optional, and echoed into the synthetic body as `data.reason`. <br>It is the one field an operator controls on the wire, and that is the point: two people debugging a receiver together can label the send ("checking the new signature code") and read the label at the far end. It is <b>not</b> a business field — see `WebhookSubscriptionService.TestAsync` for the whole body.

Responses

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

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/developers/webhooks/event-catalog JWT API Key

Get event-catalog

The event catalogue for the grouped picker: every event with its module, the audit verb that emits it and the capability a subscriber needs, plus the wildcards.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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/webhooks/event-catalog" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/developers/webhooks/event-types JWT API Key

The closed event vocabulary the subscription form offers.,

Served from the server's own constant so the dashboard keeps no second copy — the reference kept three, and four of its five event types were never actually emitted.

Capability
manage_api_keys
API key scope
cap:manage_api_keys (the key's owner must also hold the capability)
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/webhooks/event-types" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu