> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Event

> Retrieve complete JSON payload and execution logs for a webhook event.

Fetch the full payload sent, endpoint response, and diagnostic information for a specific webhook event via the Mailofly API.

### Path Parameters

**id** `string` *required*

The unique identifier of the webhook event.

### Response

**data** `object`

**id** `string`

Event ID.

**webhook\_id** `string`

Webhook destination ID.

**event** `string`

Event topic.

**status** `string`

Status (`succeeded`, `failed`).

**status\_code** `number`

HTTP response code received.

**payload** `object`

The exact JSON body sent to destination.

**response\_body** `string`

Body response from destination.

**attempt\_count** `number`

Number of retry attempts.

**created\_at** `string`

Created timestamp.

```bash cURL theme={null}
curl -X GET https://api.mailofly.com/webhooks/events/evt_12345 \
  -H "Authorization: Bearer mf_live_your_api_key"
```

```json 200 OK theme={null}
{
  "data": {
    "id": "evt_12345",
    "webhook_id": "wh_123",
    "event": "email.delivered",
    "status": "succeeded",
    "status_code": 200,
    "payload": {
      "type": "email.delivered",
      "data": {
        "email_id": "msg_abc123",
        "to": ["user@example.com"]
      }
    },
    "attempt_count": 1,
    "created_at": "2026-09-11T14:00:00Z"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.