Response status code
The external system should respond with the following HTTP responses to share with doo the status of webhook processing.
HTTP response status code | Meaning |
---|---|
200 | The external system successfully received and processed the webhook, so we won’t try to deliver this webhook again. |
Not 200 | Shows that something went wrong with the webhook delivery or processing, so we will try to deliver the webhook again. After 10 fails, we move the webhook to a dead letter queue. As soon the webhook is on the dead letter queue we have to send them manually. |
Response payload
Successful and not successful responses should contain JSON of specific format:
{ "message": "string", // short success or error message "description": "string" // additional information }