API Reference

Outbox

The outgoing event queue behind webhooks and notifications.

3 endpoints· Auth: JWT or API Key
get/api/v1/console/platform/outbox JWT API Key

The branch's outbox, newest first

Filter by `status` to reach the dead letters, or search — the search runs over the event type and the last delivery error, which is what an operator actually has in hand ("connection refused", "410 Gone").

Capability
manage_settings
API key scope
cap:manage_settings (the key's owner must also hold the capability)

Query parameters

Status
string
One of `pending|claimed|dispatched|failed|dead`. Optional.
AggregateType
string
`Order`, `PurchaseInvoice`, `DailyControlLedger`. Optional.
EventType
string
`order.created`, `settlement.reconciled`. Optional.
AggregateId
string (uuid)
The row the event describes, when triaging one document. Optional.
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/platform/outbox" \
  -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/platform/outbox/{id} JWT API Key

One message with its stored payload

A message in another branch reads as `NOT_FOUND`, never `FORBIDDEN`.

Capability
manage_settings
API key scope
cap:manage_settings (the key's owner must also hold the capability)

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/platform/outbox/{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/platform/outbox/{id}/replay JWT API Key

Push a dead-lettered message back onto the dispatch ladder

Only from `failed` or `dead`. A `dispatched` row is a `CONFLICT` because a subscriber already acted on it, and a `claimed` row is a `CONFLICT` because a worker is holding the lease. The reason is mandatory and lands in the audit log inside the same transaction as the reset.

Capability
manage_settings
API key scope
cap:manage_settings (the key's owner must also hold the capability)

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "reason": "string"
}
reason
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/platform/outbox/{id}/replay" \
  -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