Easymailing
Webhooks

Get a webhook delivery

GET /webhooks/{webhookUuid}/webhook_requests/{uuid}

GET/webhooks/{webhookUuid}/webhook_requests/{uuid}

Returns one HTTP delivery of a webhook: the body sent, the status code and body your server answered, the retries and whether it succeeded.

When to use: To debug a single failed delivery.

When not to use: To list deliveries use list_webhook_requests.

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 delivery you want to read, not the UUID of the webhook. Get it with list_webhook_requests.

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_requests/c3a8f6e2-5d14-4b97-9e0a-61f7d2c8b345" \  -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"}