API Reference
Webhooks
Subscriptions, deliveries and the event catalogue.
/api/v1/console/developers/webhook-deliveries JWT API KeyThe 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_apimust 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
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhook-deliveries" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/developers/webhook-deliveries/{id} JWT API KeyOne 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhook-deliveries/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/developers/webhook-deliveries/{id}/retry JWT API KeyRe-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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string"
}| reason string | Free-text context for the audit trail. |
Responses
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"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/developers/webhook-deliveries/retry-failed JWT API KeyCreate 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_apimust be on the branch's plan, or the call answers 403.
Request body
{
"subscriptionId": "00000000-0000-0000-0000-000000000000"
}| subscriptionId string (uuid) | — |
Responses
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"
}'Request body (JSON)
Headers
/api/v1/console/developers/webhooks JWT API KeyThe 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_apimust 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
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/developers/webhooks JWTRegister 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_apimust be on the branch's plan, or the call answers 403.
Request body
{
"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
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"
}'Request body (JSON)
Headers
/api/v1/console/developers/webhooks/{id} JWT API KeyOne 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/developers/webhooks/{id} JWTEdit 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"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
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
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/developers/webhooks/{id} JWT API KeyRetire 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string"
}| reason string | — |
Responses
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/developers/webhooks/{id}/activate JWT API KeySwitch 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}/activate" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/developers/webhooks/{id}/deactivate JWT API KeyStop 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string"
}| reason string | Why. Recorded in the audit row; never the signing secret (FR-API-097). |
Responses
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"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/developers/webhooks/{id}/deliveries JWT API KeyOne 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_apimust 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
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}/deliveries" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/developers/webhooks/{id}/rotate-secret JWTReplace 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/{id}/rotate-secret" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/developers/webhooks/{id}/test JWT API KeyCreate 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_apimust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"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
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"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/developers/webhooks/event-catalog JWT API KeyGet 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_apimust be on the branch's plan, or the call answers 403.
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/event-catalog" \
-H "X-Api-Key: <YOUR_API_KEY>"Headers
/api/v1/console/developers/webhooks/event-types JWT API KeyThe 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_apimust be on the branch's plan, or the call answers 403.
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/developers/webhooks/event-types" \
-H "X-Api-Key: <YOUR_API_KEY>"Headers