Easymailing
Webhooks

List webhook events

GET /webhooks/{webhookUuid}/webhook_events

GET/webhooks/{webhookUuid}/webhook_events

Returns the events recorded for one webhook, newest first. Each one has its type and the data that was sent, plus the delivery it belongs to.

When to use: To check what happened in an audience and was (or should have been) sent to your URL.

When not to use: For the HTTP deliveries and their responses use list_webhook_requests.

Filters: event_type: events of this type. Sort with order[created_at], order[updated_at] or order[event_type] (asc/desc).

Permissions: Requires the manager role or higher, or the account.integrations.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

webhookUuid*string

UUID of the webhook the events or requests belong to. Get it with list_webhooks.

Query Parameters

page?integer

The collection page number

Default1
itemsPerPage?integer

The number of items per page

Range0 <= value <= 50
Default30
event_type?string

Return only events of this type.

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/webhooks/4a9d1e75-3b62-4c08-a5f7-d0e2b6c83914/webhook_events?event_type=member_subscribed" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "id": 0,    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "event_type": "member_subscribed",    "webhook": "/entity/1",    "webhook_request": "/entity/1",    "event_data": {},    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }]