v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Webhooks

Get a webhook details

get/webhooks/{webhookId}

Path parameters

webhookIdinteger required

Id of the webhook

Response

Webhook informations

urlstring url required

URL of the webhook

idinteger required

ID of the webhook

descriptionstring required

Description of the webhook

eventsstring[] required
type'marketing' | 'transactional' required

Type of webhook (marketing or transactional)

createdAtstring required

Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)

modifiedAtstring required

Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)

batchedboolean

To send batched webhooks

Example response

{
  "url": "http://requestb.in/173lyyx1",
  "id": 654,
  "description": "Webhook triggered on campaign openings",
  "events": [
    "opens,clicks"
  ],
  "type": "marketing",
  "createdAt": "2016-12-01T12:50:00Z",
  "modifiedAt": "2017-05-12T13:15:00Z",
  "batched": true,
  "auth": {
    "type": "bearer",
    "token": "test-auth-token1234"
  },
  "headers": [
    {
      "key": "cf-secret",
      "value": "test-header-value"
    }
  ]
}