Webhooks
Create a webhook endpoint
Creates a new webhook endpoint that receives event notifications at the specified URL.
post/webhook_endpoints
Request
- Base URL: https://api.paubox.com/v1/email
- URL: https://api.paubox.com/v1/email/webhook_endpoints
- Auth: HTTP bearer
Request body
Example request
{
"target_url": "https://example.com/webhooks/paubox"
}Response
Webhook endpoint created
Example response
{
"message": "Webhook created!",
"data": {
"id": 42,
"target_url": "https://example.com/webhooks/paubox",
"events": [
"inbound_mail_received",
"api_mail_log_delivered"
],
"active": true,
"signing_key": "whsec_abc123"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.