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

# Get an Event

> Consulta um event.

Consulta um `event` pelo ID. Events ficam disponíveis por 30 dias; após esse
período a consulta retorna `404`.

<ParamField path="id" type="string" required>
  ID do event (`evt_*`).
</ParamField>

<RequestExample>
  ```bash cURL theme={}
  curl -X GET "https://api.chargefy.io/v1/events/evt_123" \
    -H "Authorization: Bearer {{API_KEY}}"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={}
  {
    "id": "evt_123",
    "object": "event",
    "created_at": "2026-05-27T14:09:27Z",
    "data": {
      "object": {
        "id": "cus_123",
        "object": "customer",
        "created_at": "2026-05-27T14:09:20Z",
        "email": "ana@example.com",
        "livemode": true,
        "metadata": {},
        "name": "Ana Souza"
      },
      "previous_attributes": {
        "name": "Ana"
      }
    },
    "livemode": true,
    "organization": "org_123",
    "request": {
      "id": "req_123"
    },
    "type": "customer.updated"
  }
  ```

  ```json 404 theme={}
  {
    "error": {
      "code": "resource_missing",
      "message": "No such event",
      "param": "id",
      "type": "invalid_request_error"
    }
  }
  ```
</ResponseExample>
