# List Contact Events

`GET https://api.inboxjot.com/v1/contacts/{contact_id}/events`

Lists the custom events of one contact, newest first, as far back as your plan keeps them. Look the contact up by id or by address, and filter by event name. Needs a Full key. A key limited to one domain answers 403.

## Path Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `contact_id` | string | Yes | A contact id, or the contact's email address. |

## Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `event` | string | No | Only events with this name. |
| `per_page` | integer | No | How many items to return, from 1 to 100. Defaults to 50. |
| `after` | string | No | A `next_cursor` from the last page. Returns the items after it. |
| `before` | string | No | A `prev_cursor` from the last page. Returns the items before it. When you send both, `before` wins. |

## Response

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object[] | No | The events on this page, newest first. |
| `data[].id` | string | No | The event id. |
| `data[].event` | string | No | The event name. |
| `data[].properties` | object | No | The event properties. |
| `data[].source` | string | No | `api` for an event from your server, `client` for one from a browser with a tracking key, `automation` for one a track event step recorded. |
| `data[].occurred_at` | string | No | When the event happened. |
| `prev_cursor` | string \| null | No | Send it as `before` to get the page before. `null` on the first page. |
| `next_cursor` | string \| null | No | Send it as `after` to get the next page. `null` on the last page. |

## Request

cURL:

```bash
curl -X GET https://api.inboxjot.com/v1/contacts/con_06d2mfk8r9wq3zh5ka2pe/events \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
```

## Responses

| Status | Description |
| --- | --- |
| 200 | The custom events of the contact, newest first, as far back as your plan keeps them. |
| 400 | A parameter is missing or invalid. |
| 401 | The API key is missing, revoked or expired. |
| 403 | The key is a Sending key or is limited to one domain, or the request comes from outside its IP allowlist. |
| 404 | The contact does not exist in this workspace. |
| 429 | Too many requests for this key. Wait for the seconds in the Retry-After header. |
| 500 | Something failed on our side. Retry later. |

200:

```json
{
  "data": [
    {
      "id": "8f2c1a9b4d7e6f30",
      "event": "order.completed",
      "properties": {
        "order_id": "4821",
        "total": 49
      },
      "source": "api",
      "occurred_at": "2026-11-14T09:30:00.000Z"
    }
  ],
  "prev_cursor": null,
  "next_cursor": null
}
```

400:

```json
{
  "name": "validation_error",
  "status": 400,
  "message": "Invalid cursor",
  "errors": [
    {
      "message": "Invalid cursor",
      "location": "after"
    }
  ],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

401:

```json
{
  "name": "unauthorized",
  "status": 401,
  "message": "Unauthorized",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

403:

```json
{
  "name": "forbidden",
  "status": 403,
  "message": "This key cannot be used from 203.0.113.7",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

404:

```json
{
  "name": "not_found",
  "status": 404,
  "message": "Contact not found",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

429:

```json
{
  "name": "rate_limit_exceeded",
  "status": 429,
  "message": "Too many attempts. Try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

500:

```json
{
  "name": "unknown_error",
  "status": 500,
  "message": "Something went wrong. Please try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```
