Easymailing
Webhooks

List webhook deliveries

GET /webhooks/{webhookUuid}/webhook_requests

GET/webhooks/{webhookUuid}/webhook_requests

Returns the HTTP deliveries made for one webhook, newest first, with the body sent, the response of your server, the number of retries and whether it succeeded.

When to use: To find out why your server did not receive or accept an event: look for unsuccessful deliveries and read the response.

When not to use: For the events themselves use list_webhook_events.

Filters: Sort with order[created_at], order[updated_at] or order[successful] (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

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/webhooks/4a9d1e75-3b62-4c08-a5f7-d0e2b6c83914/webhook_requests" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "id": 0,    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "payload": "string",    "response_body": "string",    "response_status_code": 0,    "retry_count": 0,    "successful": true,    "webhook_events": [      "/entity/1"    ],    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }]