---
title: "Get contact activity timeline"
method: GET
path: "/v1/contacts/{id}/activity"
tags: ["Contacts"]
---

# Get contact activity timeline

`GET /v1/contacts/{id}/activity`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/contacts/{id}/activity`
- Auth: API key in header `x-api-key`

Returns a contact's message activity, newest first, optionally filtered by channel. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.

## Path parameters

- `id` string, required

## Query parameters

- `limit` string, nullable
- `cursor` string
- `channel` 'email', nullable

## Response `200`

ContactActivityPage

- ContactActivityPage
  - `items` object[], required
    - `id` string, required
    - `channel` string, required
    - `direction` string, required
    - `status` string, required
    - `subject` string, nullable, required
    - `snippet` string, nullable, required
    - `createdAt` string, required
    - `conversationId` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
