Methods and return codes

We'll accept POST requests sent to the URL generated in step 1. The request body will be a JSON object with appropriate headers. We'll respond with one of these three statuses:

  • 200
  • 400
  • 500

If we respond with a 200 status, we'll consider the webhook to be successful.

{
  "status": "ok"
}

If we respond with a 400 status, we'll consider the webhook to be failed.

{
  "status": "error",
  "errors": {
    "first_name": "The first name is required"
  }
}