> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/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.

### Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the webhook event.
</ParamField>

### Response

<ResponseField name="data" type="object">
  <ResponseField name="id" type="string">Event ID.</ResponseField>
  <ResponseField name="webhook_id" type="string">Webhook destination ID.</ResponseField>
  <ResponseField name="event" type="string">Event topic.</ResponseField>
  <ResponseField name="status" type="string">Status (`succeeded`, `failed`).</ResponseField>
  <ResponseField name="status_code" type="number">HTTP response code received.</ResponseField>
  <ResponseField name="payload" type="object">The exact JSON body sent to destination.</ResponseField>
  <ResponseField name="response_body" type="string">Body response from destination.</ResponseField>
  <ResponseField name="attempt_count" type="number">Number of retry attempts.</ResponseField>
  <ResponseField name="created_at" type="string">Created timestamp.</ResponseField>
</ResponseField>

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

<ResponseExample>
  ```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"
    }
  }
  ```
</ResponseExample>


## Related topics

- [List Events](/api/webhooks/list-events.md)
- [Retrieve Webhook](/api/webhooks/retrieve-webhook.md)
- [Event types](/webhooks/event-types.md)
- [Replay Event](/api/webhooks/replay-event.md)
- [Retrieve Attachment](/api/emails/retrieve-attachment.md)
