# Retrieve an event

`GET https://api.morevoice.ai/v1/events/{id}`

Returns one event: its type, the API version it was rendered in, and its payload (`data.object`), exactly as webhooks deliver it. Events are kept for 30 days.

Authenticate with a secret API key: `Authorization: Bearer $MOREVOICE_API_KEY`.

Operation ID: `events_retrieve`.

## Parameters

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | A event ID (`evt_…`). |

### Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `MoreVoice-Version` | `string` | no | The API version to use for this request. Defaults to the version the API key is pinned to. |

## Responses

### 200 OK

OK Returns `Event`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | `string` | The event ID (also the `webhook-id` header of its deliveries). |
| `object` | `"event"` | — |
| `type` | `"call.created" \| "call.started" \| "call.ringing" \| "call.answered" \| "call.transferred" \| "call.ended" \| "call.analyzed" \| "call.cost_finalized" \| …` | — |
| `created` | `string` | An ISO-8601 timestamp in UTC. |
| `api_version` | `string` | — |
| `livemode` | `boolean` | `true` in live mode, `false` in test mode. |
| `org_id` | `string` | A org ID (prefix `org_`). |
| `data` | `object` | — |
| `data.object` | `object` | The object the event is about (its shape per type: the `webhooks` section of this document). |
| `data.legacy_event` | `string` | The previous webhook name of this event (e.g. `dnc.added`), when it has one. |
| `data.previous_attributes` | `object` | — |
| `request` | `object` | — |
| `request.id` | `string \| null` | `req_…` ID. |
| `request.idempotency_key` | `string \| null` | That request's Idempotency-Key, if any. |

Example:

```json
{
  "api_version": "2026-11-01",
  "created": "2026-11-03T09:14:22Z",
  "data": {
    "object": {
      "duration_ms": 93120,
      "end_reason": "hangup",
      "id": "call_7Hk2LmN9pQ4rS6tV8wX0yZ",
      "metadata": {},
      "object": "call",
      "status": "ended"
    }
  },
  "id": "evt_3fT9kq2ZpLr8YwVbN1cX0a",
  "livemode": true,
  "object": "event",
  "org_id": "org_0000000000000000000001",
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "call.ended"
}
```

### 400 Bad Request

The request is invalid: a parameter is missing, malformed or unknown, or the version header is unknown. Returns `ErrorEnvelope`.

### 401 Unauthorized

No valid API key was sent. Returns `ErrorEnvelope`.

### 403 Forbidden

The key may not do this (a missing scope, a plan limit, or a compliance block). Returns `ErrorEnvelope`.

### 404 Not Found

No object with this ID (in the path or the body) exists in this organisation and mode. Returns `ErrorEnvelope`.

### 429 Too Many Requests

Too many requests, or no call capacity right now. Retry after the Retry-After delay. Returns `ErrorEnvelope`.

### 500 Internal Server Error

Something went wrong on MoreVoice's side. Retry with the same Idempotency-Key. Returns `ErrorEnvelope`.

## Code samples

**TypeScript**

```ts
import MoreVoice from "@morevoice/sdk";

const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment

const event = await mv.events.retrieve("evt_7Hk2Lm9Qp");
console.log(event);
```

**Python**

```python
from morevoice import MoreVoice

client = MoreVoice()  # MOREVOICE_API_KEY from the environment

event = client.events.retrieve("evt_7Hk2Lm9Qp")
print(event)
```

**cURL**

```sh
curl https://api.morevoice.ai/v1/events/evt_7Hk2Lm9Qp \
  -H "Authorization: Bearer $MOREVOICE_API_KEY"
```
