# contact_history

**Read a contact’s change history**

Users with access to a group · read-only

Reads every change to one contact, newest first: who made it, when and in which app, and what it did, field by field, its name before and after, values added, changed or taken off by type and label, the groups it joined or left and its notes, only what you see now and never a note only one person sees. A phone’s edit, delete or change of groups to a card that’s read only on phones shows as kind undone, with tried_on_phone saying what the phone tried: it changed nothing and there’s nothing to revert. For the directory’s owners and anyone holding Change history on one of its groups. Each change has its number (change), which [`revert_contact_change`](https://withopenbook.com/docs/tools/revert_contact_change) takes, and says whether you can revert it (can_revert) or put the contact back as it left it (can_restore), and why not.

## Parameters

| Parameter | Type | Required | Limits | What |
|---|---|---|---|---|
| `contact` | `string` | required |  |  |
| `limit` | `integer` | optional | 1–100, default 30 | How many of its latest changes to read, 30 until set. |

## Who can use it

Users get it once they have access to a group, and each call is checked against that access. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

Annotated **read-only**, so clients like ChatGPT can call it without asking.

## Errors

Errors carry a stable code and a message written for people. See [errors and their status codes](https://withopenbook.com/docs/api#errors).

HTTP:

```bash
curl https://api.withopenbook.com/v1/actions/contact_history \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
  "limit": 10
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact_history",
    "arguments": {
      "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
      "limit": 10
    }
  }
}
```

> IDs are made up. Get real ones from `my_access` and `search_contacts`, and send the person’s own OAuth token.
