Skip to main content

Responding to Webhook Requests

Your endpoint must return a success status code to every webhook request RB2B sends. This confirms the data was received and keeps the integration active.

Accepted status codes

RB2B treats any of the following as a successful delivery:

  • 200 OK

  • 201 Created

  • 202 Accepted

  • 204 No Content

Status codes that disconnect the integration

If your endpoint returns any of the following, RB2B will disable the webhook:

  • 302 Found (RB2B does not follow redirects, so make sure your webhook URL points directly at the endpoint)

  • 400 Bad Request

  • 401 Unauthorized

  • 404 Not Found

  • 410 Gone

  • 500 Internal Server Error

Timeouts

If RB2B does not receive a response within 15 seconds, the webhook is assumed to be offline and the integration will be disconnected.

Response body

Your response body can be empty or contain a simple JSON acknowledgement. RB2B does not parse or act on the response body at this time.

Did this answer your question?