---
title: "Timeline"
description: "Read everything that happened with a customer, newest first."
url: "https://docs.goomzo.africa/docs/developers/customers/timeline"
docs_index: /llms.txt
lastUpdated: 2026-11-20
section: "Customers"
related:
  - /docs/developers/customers
  - /docs/developers/customers/activity
  - /docs/developers/customers/notes
---

> For an index of all documentation, see [/llms.txt](https://docs.goomzo.africa/llms.txt). Any page is also available as Markdown by adding .md to its URL.

# Timeline

> Read everything that happened with a customer, newest first.

A customer's timeline is one list of what they did, every message sent to them with how it went, what they wrote back,
the team's notes, and when they were added.

## Requirements

- An API key with the `activity.read` permission. Messages also need `messages.read`, and notes `notes.read`; without
  them they are left out.

## Requests

```text
GET /v1/customers/{id}/timeline?kind=<KINDS>&limit=<LIMIT>&cursor=<CURSOR>
```

| Placeholder | Description                                                                                  | Sample value    |
| ----------- | -------------------------------------------------------------------------------------------- | --------------- |
| `<KINDS>`   | _String. Optional._ Comma separated: `activity`, `sent`, `received`, `note`, `added`. All when left out. | `sent,received` |
| `<LIMIT>`   | _Number. Optional._ Up to 100 entries a page. 30 when left out.                              | `50`            |
| `<CURSOR>`  | _String. Optional._ The `nextCursor` of the previous page.                                   |                 |

### Example request

```bash
curl "https://api.goomzo.africa/v1/customers/cus_4hq2v9n1c8x0t6pk/timeline?kind=sent,received" \
  -H "Authorization: Bearer $GOOMZO_TOKEN"
```

## Responses

The answer is `200` with `items`, newest first, and `nextCursor`, which is `null` on the last page. Each entry has an
`id`, a `kind` and when it happened (`at`), and one of:

- `activity`: its `key` and `value`. For opening or clicking a message, `context` names the message.
- `message`: for `sent` and `received`, its `channel`, `text` (up to 1,000 characters), and for sent ones its `status`.
- `note`: its `text`, whether it was `edited`, and whether the key can change it (`canEdit`).

```json
{
  "items": [
    { "id": "rcv_9f2k1m0x7c3p", "kind": "received", "at": "2026-11-20T09:14:02Z", "message": { "channel": "whatsapp", "kind": "text", "text": "Bado mnayo size 42?" } },
    { "id": "msg_4hq2v9n1c8x0", "kind": "sent", "at": "2026-11-20T08:00:00Z", "message": { "channel": "whatsapp", "text": "Black Friday: 30% off all shoes.", "status": "read" } },
    { "id": "act_5k1p7z3w0r2t", "kind": "activity", "at": "2026-11-18T15:30:00Z", "activity": { "key": "purchased", "value": "Shoes" } }
  ],
  "nextCursor": null
}
```

## Notes

- **Nothing twice:** a message sent or a reply shows as the message, not again as activity.
- **What hasn't happened:** messages scheduled for later, and canceled ones, are left out.

## Next steps

- [Notes](https://docs.goomzo.africa/docs/developers/customers/notes?utm_source=llms&utm_medium=ai)
- [Activity](https://docs.goomzo.africa/docs/developers/customers/activity?utm_source=llms&utm_medium=ai)

---

For an index of all available documentation, see [/llms.txt](https://docs.goomzo.africa/llms.txt)
