Delivery API
Delivery Statistics
Section titled “Delivery Statistics”GET /admin/delivery/statsReturns aggregated delivery statistics.
Example:
curl https://ingest.transyt.com/admin/delivery/stats \ -H "X-Admin-Token: YOUR_ADMIN_TOKEN"Failed Deliveries
Section titled “Failed Deliveries”List events where delivery has failed after exhausting all retries:
GET /admin/delivery/failedReturns up to 200 failed deliveries.
Example:
curl https://ingest.transyt.com/admin/delivery/failed \ -H "X-Admin-Token: YOUR_ADMIN_TOKEN"Retrying Deliveries
Section titled “Retrying Deliveries”List events that are currently being retried:
GET /admin/delivery/retryingQuery Parameters:
| Parameter | Type | Description |
|---|---|---|
min_attempts | integer | Only show events with at least this many delivery attempts |
Returns up to 200 retrying deliveries.
Example:
curl "https://ingest.transyt.com/admin/delivery/retrying?min_attempts=3" \ -H "X-Admin-Token: YOUR_ADMIN_TOKEN"Manual Retry
Section titled “Manual Retry”Retry delivery for a specific event:
POST /admin/delivery/retry/{event_id}Example:
curl -X POST https://ingest.transyt.com/admin/delivery/retry/{event_id} \ -H "X-Admin-Token: YOUR_ADMIN_TOKEN"This immediately attempts delivery again, independent of the automatic retry schedule.