{

Create/update webhook configuration

Create or update your webhook configuration to use the webhook feature

PUT http://api.cmtelecom.com/bulkemail/v1.0/accounts/{accountID}/webhooks

PUT Parameters

Name In Description Required Type Example
AccountID Path The account guid True Guid A8C062E4-ECFD-48D0-89B1-A37D2622B7A9
Body Body The new webhook configuration True Json object { "Url": "https://cm.com", "Settings": { "Sent": true, "Unsubscribe": true, "Delivered": true, "Complaint": true, "Bounced": true, "Blacklisted": true, "Opened": true, "ViewedInBrowser": true, "Clicked": true, "PermanentBounced": true } }
X-CM-PRODUCTTOKEN Header Your product token True Guid C24A5029-37DD-4161-9728-F80D8639588E

Responses

Http status Description Example
200 Webhook configured { "AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9", "Url": "https://cm.com", "Settings": { "Sent": true, "Unsubscribe": true, "Delivered": true, "Complaint": true, "Bounced": true, "Blacklisted": true, "Opened": true, "ViewedInBrowser": true, "Clicked": true, "PermanentBounced": true }, "CreatedOn": "2019-02-01T14:07:15.423", "ModifiedOn": "2019-02-01T14:07:15.423", "DeletedOn": null }
400 Bad request

Try it out