v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Webhook

Create webhook

Creates a new webhook.

post/api/v1/webhooks

Request body

namestring required
urlstring uri required
signatureKeystring required

Example request

{
  "name": "My example application",
  "url": "https://example.com/receive-xentral-webhook-endpoint",
  "signatureKey": "rf5ecjtvnWQ4mTDfzOTZXgQuuCSFfR66",
  "events": [
    {
      "id": "com.xentral.salesOrder.created.v1"
    },
    {
      "id": "com.xentral.salesOrder.updated.v1"
    }
  ]
}

Response

Resource successfully created response