Callbacks are sent when messages are either Delivered or when DeliveryFailed.
Callbacks are posted to the provided callbackUrl with the following body:
{
"messageGuid": "415d0cdb-7793-444e-85c2-xxxxxxxxxxxx",
"batchGuid": "f3752f47-0d06-4a76-aa6f-xxxxxxxxxxxx",
"externalId": "ext-id-1",
"state": "Delivered",
"happenedAtTs": "2020-01-17 11:01:53 +0100"
}
And similar when failed:
{
"messageGuid": "415d0cdb-7793-444e-85c2-xxxxxxxxxxxx",
"batchGuid": "f3752f47-0d06-4a76-aa6f-xxxxxxxxxxxx",
"externalId": "ext-id-1",
"state": "DeliveryFailed",
"happenedAtTs": "2020-01-17 11:01:53 +0100"
}
Callbacks are sent as a HTTP POST payload to the configured callback URL from IPs listed here: https://s3.eu-central-1.amazonaws.com/dk.onlinefundraising.info/webhooks.json
Please note that callbacks may be delivered twice in rare occasions, if connection problems, bad timings etc. is experienced. Please also see delivery attempts below.
Delivery attempts
Should your integration not respond or respond with a HTTP code other than 200 OK we will resend the callback by an exponential backoff algorithm with the following seconds interval per attempt:
-
- 10
- 1800
- 3600
- 5400
- 7200
- 9000
- 10800
- 12600
- 14400
- 16200