Create a webhook
POST {{baseUrl}}/webhooks
Request Body
{"events"=>["spam", "opened", "click", "hardBounce", "softBounce", "unsubscribed", "listAddition", "delivered"], "url"=>"https://webhook.site/5ebc5d36-217f-4989-81fd-5f02cbb49c6d", "description"=>"test for SMS", "type"=>"marketing"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":5}