SMS Outbound API

Callback

Senest redigeret:

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:

    1. 10
    2. 1800
    3. 3600
    4. 5400
    5. 7200
    6. 9000
    7. 10800
    8. 12600
    9. 14400
    10. 16200

Was this article helpful?

0 out of 0 found this helpful