Easymailing
Webhooks

Get a webhook event

GET /webhooks/{webhookUuid}/webhook_events/{uuid}

GET/webhooks/{webhookUuid}/webhook_events/{uuid}

Returns one event of a webhook with its type, its data and the delivery attempt that carried it.

When to use: To inspect exactly what data was generated for an event.

When not to use: To list events use list_webhook_events.

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.

uuid*string

UUID of the event you want to read, not the UUID of the webhook. Get it with list_webhook_events.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/webhooks/4a9d1e75-3b62-4c08-a5f7-d0e2b6c83914/webhook_events/b7e2c4d1-0f93-4a6e-8c15-3d9a7e5f2b08" \  -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"}