v1
latestOpenAPI 3.0.12026-07-24501176.6 MBAdd Webhook
Add a new webhook.
post/webHooks
Request body
Response
200
Example response
{
"data": {
"attribution": {
"createdOn": "2024-10-28T08:05:44.665+0000",
"lastUpdatedOn": "2024-10-28T08:05:44.665+0000",
"lastUpdatedBy": {
"id": 75121810,
"code": "test_123",
"name": "test_123",
"type": "TILL"
},
"createdBy": {
"id": 75121810,
"code": "test_123",
"name": "test_123",
"type": "TILL"
}
},
"webHookId": "671f45d8760af000077b19f8",
"name": "test_post_webhook_12345",
"eventNames": [
"loyaltyCustomerMerge"
],
"webHookUrl": "http://intouch-api-v3.default",
"webHookType": "HTTP",
"methodType": "POST",
"webHookHeaders": {
"Authorization": "Basic Q2FwaWxsYXJ5OklVTmhWVVQTROekl5",
"Content-Type": "application/json"
},
"maxAllowedConnections": 10,
"active": true,
"slaInSeconds": 150,
"consumerGroupId": "f7ea2579-28e2-4179-96da-fb271b17601c"
}
}