Webhook
List webhook event types
Changed onList webhooks event types.
get/api/v1/webhookEventTypes
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
xentralVersionstring
Xentral version to request the available event types for.
includestring
Comma-separated list of extra data to include. Supported value: schema — adds the JSON Schema of the delivered webhook document per event type. Without it the response is unchanged; any other value is rejected with 400.
Response
Webhook event type list.
Example response
{
"data": [
{
"id": "com.xentral.salesOrder.created.v1",
"group": "salesOrder"
},
{
"id": "com.xentral.product.created.v1",
"group": "product"
},
{
"id": "com.xentral.product.propertiesCreated.v1",
"group": "product"
}
]
}Changes
- info
added the new optional
queryrequest parameterinclude - info
added the non-success response with the status
- info
added the optional property
//to the response with the status
- info