Create a webhook endpoint
Webhook endpoints
Create a webhook endpoint
Registers a URL to receive event notifications. The response includes a secret used to verify payload signatures; see Webhooks.
POST
Create a webhook endpoint
Authorizations
All requests must include Authorization: Bearer <api_key>. Keys are prefixed pw_live_ or pw_test_. See Authentication.
Body
application/json
Example:
"https://example.com/webhooks/pulsewave"
Pass ["*"] to receive every event type
Available options:
message.sent, message.delivered, message.bounced, message.opened, message.clicked, message.complained, contact.unsubscribed, domain.verified Response
The created webhook endpoint, including its signing secret
Example:
"we_9k2m5p"
Available options:
webhook_endpoint Available options:
message.sent, message.delivered, message.bounced, message.opened, message.clicked, message.complained, contact.unsubscribed, domain.verified Available options:
enabled, disabled Signing secret used to verify the Pulsewave-Signature header. Only returned once.
Example:
"whsec_3f8a2k9q1m7r5t6y"