Webhook
Create Webhook
Learn how to create Webhook using Dhesend API.
import Dhesend from 'dhesend';
const dhesend = new Dhesend('dhe_fdd03c4eb1');
dhesend.webhook.create({
endpoint: "https://testing.com/webhook",
events: ["email:bounced"]
}){
"id": "a19ae25a-32ef-4f17-b5c8-5c3cf37471b3",
"secret": "dws_51bc730b47c20193"
}Path parameters
The endpoint of Webhook.
Events to be listened.
Possible values:
Possible values:
email:sentemail:deliveredemail:openedemail:clickedemail:bouncedemail:failedemail:complaint