PLATFORM RC-93 — Webhooks DLQ + retention + compaction (v1) (rc93)

Download OpenAPI specification:

Contract-only OpenAPI for DLQ operations (admin scope).

DLQ stats (admin)

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "by_terminal_reason_code": {
    },
  • "oldest_last_attempt_at": "string",
  • "newest_last_attempt_at": "string"
}

Compact DLQ (admin)

Request Body schema: application/json
required
retention_days
required
integer

Responses

Request samples

Content type
application/json
{
  • "retention_days": 0
}

Response samples

Content type
application/json
{
  • "accepted": true,
  • "retained_count": 0,
  • "deleted_count": 0
}

Redrive DLQ records (admin)

Request Body schema: application/json
required
merchant_id
required
string
subscription_id
string or null
max_deliveries
required
integer <= 500
reason
required
string

Responses

Request samples

Content type
application/json
{
  • "merchant_id": "string",
  • "subscription_id": "string",
  • "max_deliveries": 500,
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "accepted": true,
  • "redrive_id": "string",
  • "enqueued_count": 0,
  • "skipped_count": 0,
  • "skipped_reasons": [
    ]
}