webhook
Create a webhook
post/v1/webhook/create
Request body
Example request
{
"name": "Email Sent Webhook",
"webhookUrl": "https://example.org/webhooks/email-sent",
"webhookEvent": [
"email-sent"
],
"headers": {
"X-Webhook-Source": "saleshandy"
}
}Response
Webhook created successfully
{"stackTrail":"paths:/v1/webhook/create:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown","example":{"message":"Webhook created successfully","payload":{"id":"69fb3ac1eda582171eb74826","name":"Email Sent Webhook","webhookUrl":"https://example.org/webhooks/email-sent","webhookEvent":["email-sent"],"headers":{"X-Webhook-Source":"saleshandy"},"status":"paused","testDelivery":{"status":"failed"}}}}
Example response
{
"message": "Webhook created successfully",
"payload": {
"id": "69fb3ac1eda582171eb74826",
"name": "Email Sent Webhook",
"webhookUrl": "https://example.org/webhooks/email-sent",
"webhookEvent": [
"email-sent"
],
"headers": {
"X-Webhook-Source": "saleshandy"
},
"status": "paused",
"testDelivery": {
"status": "failed"
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.