curl --request POST \
--url https://{domain}/{webhook-endpoint} \
--header 'Content-Type: application/json' \
--header 'Lucca-Signature: <lucca-signature>' \
--header 'Lucca-Timestamp: <lucca-timestamp>' \
--data '{}'How to respond to a POST request against your endpoint.
curl --request POST \
--url https://{domain}/{webhook-endpoint} \
--header 'Content-Type: application/json' \
--header 'Lucca-Signature: <lucca-signature>' \
--header 'Lucca-Timestamp: <lucca-timestamp>' \
--data '{}'| Status Code | Semantics | Marked as Delivered | Will retry | Suspend the Endpoint immediately |
|---|---|---|---|---|
2xx | Event received. | ✅ Yes | ❌ No | ❌ No |
400 | Event was not understood. | ❌ No | ✅ Yes | ❌ No |
401 | Sender could not be authenticated (signature fallacy - more below). | ❌ No | ✅ Yes | ❌ No |
404 | Incorrect webhook endpoint URL. | ❌ No | ❌ No | ✅ Yes |
410 | Endpoint is gone. | ❌ No | ❌ No | ✅ Yes |
429 | Too many requests. Retry later. | ❌ No | ✅ Yes | ❌ No |
503 | Service unavailable. Retry later. | ❌ No | ✅ Yes | ❌ No |
5xx | Service is down. | ❌ No | ✅ Yes | ❌ No |
https://{yourdomain}.ilucca.{net|ch}/integrations/endpoints.Signature of the message
Timestamp of the message
Name of the webhook-endpoint on your server.
500Refer to the documentation for the event schema.
Accepted.
Message successfully received for asynchronous processing.
Was this page helpful?