Create a Webhook

post
/webhook

https://api.abowire.com/v1/webhook
Request
Response
Request
Body Parameters
status
required
string
enabled or disabled
url
required
string
Public URL to send the notification to
event
required
string
Name of the event
Response
200: OK
{
"items": [
{
"id": "test_webhook_d3438b85e6418934fc64ad3eeef744f2",
"eventArn": "event:abowire:account_eeef744f2d3438b85e6418934fc64ad3:order:create",
"url": "https://test.com",
"status": "enabled"
}
],
"meta": {
"totalItems": 1,
"itemCount": 1,
"itemsPerPage": 10,
"totalPages": 1,
"currentPage": 1
},
"links": {
"first": "https://api.abowire.com/wbhook?limit=10",
"previous": "",
"next": "",
"last": "https://api.abowire.com/webhook?page=1&limit=10"
}
}

Use the params field to add custom query parameters to the request, such as a secret token to validate the request, etc.