v1

latestOpenAPI 3.1.2Apache-2.02026-08-066040125.5 KB
Webhooks

Create a webhook

Configure a new webhook to track email events.

post/v2/email-service/webhook

Request body

urlstring required
actionsstring[] required

Example request

{
  "url": "https://site.com/callback",
  "actions": [
    "delivered"
  ]
}

Response

Webhook created

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "id": 162242,
      "user_id": 7043663,
      "url": "https://site.com/callback",
      "action": "unsubscribe"
    }
  ]
}