Sigfox webhooks
Sigfox webhooks, which Sigfox calls callbacks, are HTTP requests the Sigfox Cloud sends to your server when a device message arrives or a device event occurs, in a shape you define with a template.
How Sigfox webhooks work
A callback pushes device data to you as it reaches the Sigfox Cloud, so you don't have to poll for it. You write the URL, method, headers and body, and Sigfox fills in variables such as {device}, {data} and {time}. A simple callback sends one GET, POST or PUT per message, with a form-encoded body by default, or a validated application/json or free text/plain body. A batch callback sends one form-encoded POST each second, with one message per line.
Data, Service and Error callbacks are set on a device type, and the request names no callback type, so give each one its own URL path. Event callbacks cover a device's lifecycle and subscription, and Sigfox documents a fixed eventType value for each event. It only arrives if your template includes {eventType}. There's no payload version. Service Status callbacks are being retired: new ones are disabled from September 2026 and the service ends in April 2027.
Key facts
Only if your template sends it: {eventType} on Event callbacks UNKNOWN Content type: application/x-www-form-urlencoded, application/json, text/plain.
Setting up Sigfox webhooks
- For message data, open Device type, select the device type, then Callbacks > New > Custom Callback. Choose the callback type, the
URLorBATCH_URLchannel, the URL pattern, the method, your secret header and a body template. - For device events, open Event configuration on the group, device type or device, click New, then choose the event type and the Custom callback connector.
- Sigfox's cloud can't reach localhost, so test through a public HTTPS URL.
hookdeck listen 3000 sigfoxgives you one and forwards requests to your machine. Sigfox refuses self-signed certificates. - Sigfox's docs describe no manual resend. Failed callbacks show in the error column on the device type's Callbacks page.
Delivery behaviour
10 seconds Your server must return a status code within 10 seconds. Sigfox recommends handling the data asynchronously because of this limit. Retries 3 retries Sent 1, 2 and 4 minutes after the timeout or error code. The docs don't list which status codes count as errors. After retries run out Not documented Treat the message as undelivered. Failed callbacks show in the error column on the device type's Callbacks page. Duplicates Expected A reply after the 10 second limit still triggers a retry, so Sigfox recommends deduplicating. Known failure modes
From Hookdeck's Sigfox guide →-
A slow handler gets the same message again
Sigfox retries when your server takes longer than 10 seconds, even if it replies later. Return a
Answer within the limit →2xxfirst, process afterwards, and deduplicate. -
Messages are lost after an outage
Sigfox retries a failed callback three times, 1, 2 and 4 minutes after the failure, and its docs describe nothing after that. An outage longer than a few minutes can lose messages, so check the callback error log.
Plan for exhausted retries → -
Sequence numbers repeat
Build a safe dedupe key →{seqNumber}restarts after 4096 messages, and at 0 when firmware is re-flashed, so{device}and{seqNumber}alone can drop a new message. Add{time}to your key. -
A device never gets its downlink
A Bidir callback expects your HTTP response to carry the downlink, so a proxy or queue that answers for you replaces it. Point Bidir callbacks directly at the server that computes the answer.
Keep Bidir direct →
Sigfox webhook best practices
- Answer within 10 seconds.
Store the request, return a
2xx, then decode and process it afterwards. A late answer counts as a timeout, even if your handler succeeded. - Build a dedupe key that survives the sequence cycle.
{seqNumber}restarts after 4096 messages, so combine{device},{seqNumber}and{time}, and keep Uplink and Data Advanced apart. - Give each callback type its own path.
The request doesn't say which callback sent it. Paths such as
/sigfox/uplinkand/sigfox/errorkeep routing out of your parsing code. - Put eventType in every Event callback.
Sigfox only sends the variables you template. Without
{eventType}, your handler can't tellOFF_CONTRACTfromSUSPEND. - Check the callback error log. After three failed retries the docs describe nothing further, so alert when messages stop and compare against the device's messages in the Backend.
- Keep Bidir callbacks on a direct URL. A Bidir callback's HTTP response carries the downlink. Anything answering on your server's behalf replaces that response.
Common Sigfox webhook events
Contract and subscription
OFF_CONTRACT | Device's token ends or it can't get a new one |
TOKEN_RENEWAL | Subscription gets extended on the current contract |
SUSPEND | Someone puts a device subscription on hold |
Device health
INVALID_SEQ_NUMBER | Small gap appears in a device's sequence numbers |
OVERUSAGE | Device passes its daily uplink message limit |
INVALID_PRIVATE_KEY | Sigfox flags a device-side private key problem |
Events by resource
| Resource | Events | Payloads |
|---|---|---|
subscription | 8 | 0 |
transfer | 5 | 0 |
messages | 4 | 0 |
In this hub
| Webhook events → | Every covered Sigfox event, with payloads where the registry has them. |
| MCP events → | How an agent subscribes to Sigfox events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill sigfox-webhooks |
Keep an outage from losing Sigfox messages.
Sigfox stops retrying after a few minutes. Event Gateway checks your secret header, accepts each one-way callback as it arrives and queues it, so your downtime doesn't use up those retries.