API referenceWebhook endpoints
Create a webhook endpoint
Create a webhook endpoint. The response contains the signing secret; it is not shown again.
POST
Create a webhook endpoint. The response contains the signing secret; it is not shown again.
httpheader
AuthorizationBearer <token>application/json- body
Create (POST) or update (PATCH) a webhook endpoint.
url*stringFormat
uriLength
length <= 2048events*array<>Items
1 <= itemsdescription?|Length
length <= 255include_personal_data?booleanstatus?stringValue in
"enabled""disabled"WebhookEndpointResource
application/json- response
id*stringobject*stringurl*stringdescription*string|nullevents*array<string>include_personal_data*booleanstatus*stringValue in
"enabled""disabled"disabled_reason*string|nullsecret?stringcreated_at*string|nullupdated_at*string|nullcurl -X POST 'https://api.tixxy.nl/v1/webhook-endpoints' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com", "events": [ "order.created" ]}'Example Response
{ "id": "string", "object": "webhook_endpoint", "url": "string", "description": "string", "events": [ "string" ], "include_personal_data": true, "status": "enabled", "disabled_reason": "string", "secret": "string", "created_at": "string", "updated_at": "string"}