webhook
Create a webhook
post/v1/webhook/create
Request
- Base URLhttps://developer.saleshandy.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
unknown required
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 operation across all 4 revisions of this API.