Webhooks
Receive HTTP POST callbacks when events occur in your Printago account. Webhooks let you react to printer status changes, print job updates, and order events in realtime.
Overview
When you configure a webhook, Printago sends an HTTP POST request to your URL each time a subscribed event occurs. Webhooks are configured via the Notification Settings API or the Printago dashboard under Settings → Notifications.
Delivery Format
Every webhook is delivered as an HTTP POST request with a JSON body. Your endpoint must respond with a 2xx status code to acknowledge receipt.
POSTapplication/jsonPayload Schema
All webhook payloads share a common envelope format:
{
"id": string, // Identifies this delivery; the same on every retry of it
"event": string, // The event name (e.g. "onJobCompleted")
"occurredAt": string, // ISO 8601 timestamp of when the event happened
"timestamp": string, // ISO 8601 timestamp of when this request was sent
"data": {
"printer": Printer | null, // Included for printer and job events
"printJob": PrintJob | null // Included for job events
}
}
The data object contains the full Printer and/or PrintJob resource depending on the event type. These are the same objects returned by the GET /v1/printers/{id} and GET /v1/print-jobs/{id} endpoints respectively.
Printer Events
These events fire when a printer's status changes. The data.printer field contains the full Printer object.
{
"id": "d9c41e07b2a85f3d16e0c7a4",
"event": "onPrinterOnline",
"occurredAt": "2026-03-13T14:30:00.000Z",
"timestamp": "2026-03-13T14:30:00.210Z",
"data": {
"printer": {
"id": "cm7abc123def456ghi",
"name": "Bambu X1C #1",
"model": "X1C",
"status": "idle",
"isOnline": true,
...
},
"printJob": null
}
}
Print Job Events
These events fire when a print job changes status. The data.printJob field contains the full PrintJob object, and data.printer contains the printer the job is assigned to (if available).
{
"id": "d4f1c2a9e83b07d65a1e2c4f",
"event": "onJobCompleted",
"occurredAt": "2026-03-13T16:45:00.000Z",
"timestamp": "2026-03-13T16:45:00.280Z",
"data": {
"printer": {
"id": "cm7abc123def456ghi",
"name": "Bambu X1C #1",
"model": "X1C",
"status": "idle",
"isOnline": true,
...
},
"printJob": {
"id": "cm7xyz789ghi012jkl",
"status": "completed",
"partName": "Benchy",
"assignedPrinterId": "cm7abc123def456ghi",
"attemptNumber": 1,
"printingStartedAt": "2026-03-13T14:30:00.000Z",
"printingCompletedAt": "2026-03-13T16:45:00.000Z",
...
}
}
}
Order Events
These events fire when orders are created, cancelled, or closed. Order events do not include printer or printJob data in the payload.
{
"event": "onOrderCreatedRetail",
"timestamp": "2026-03-13T10:15:00.000Z",
"data": {
"printer": null,
"printJob": null
}
}
Configuration
Configure webhooks via the API or the Printago dashboard.
1. Enable the webhook channel
{
"channel": "webhook",
"data": {
"webhookUrl": "https://your-server.com/webhook",
"apiKey": "your-secret-key-at-least-32-characters-long"
}
}
2. Subscribe to events
{
"onJobSucceeded": true,
"onJobFailed": true,
"onPrinterOffline": true,
"onOrderCreatedRetail": true
}
https://. Localhost and private IP addresses are not allowed.X-API-Key header of every webhook request for you to verify.Retries
Respond within 10 seconds. If an attempt fails, Printago tries again: the first retry comes 2 seconds later, and each wait after that doubles (4 s, 8 s, 16 s, and so on) up to 2 minutes between attempts. Printago keeps trying for 15 minutes, about 14 attempts in all.
408, 429, and any 5xx.4xx (400, 401, 403, 404, …). Your endpoint rejected the request, and the same request would be rejected again.
Delivery is at least once. A retry can arrive after your endpoint accepted an earlier attempt, if Printago never saw the response, so treat a repeated id as a delivery you have already handled. Deliveries are independent and can arrive out of order (a retried onJobStarted can land after the same job's onJobCompleted); order them by occurredAt.
If the webhook is switched off, removed, or unsubscribed from the event while a delivery is retrying, the retries stop.
Failure Handling
A delivery fails when Printago stops trying: your endpoint answered with a 4xx that is not retried, or 15 minutes of retries all failed. That event is not sent again. A failed delivery counts once toward auto-disable, however many attempts it took. If 10 or more deliveries fail within a 24-hour window, the webhook is automatically disabled to prevent further failed deliveries.