> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sonoransoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Record History

> Retrieve the creator and edit history for a CAD custom record.

`GET` `https://api.sonorancad.com/v2/general/records/{recordId}/history`

> **Rate limit:** `30 requests per minute` per API key.

Returns saved history entries, newest first, for a custom record stored in the community associated with your [CAD v2 API key](https://docs.sonoransoftware.com/cad/api-integration/api-endpoints-v2/authentication.md). Character records and externally synced results are not supported.

## Parameters

| Name | Location | Type | Description |
| - | - | - | - |
| `recordId` | Path | Positive integer | The stored record's `id` from a lookup result, not the template's `recordTypeId`. |
| `limit` | Query | Integer | Number of entries to return, from 1 to 100. Default: 50. |
| `offset` | Query | Integer | Number of newest entries to skip, zero or greater. Default: 0. |

## Example Request

```bash theme={null}
curl --request GET \
  --url 'https://api.sonorancad.com/v2/general/records/451/history?limit=1&offset=0' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Accept: application/json'
```

## Response

| Field | Description |
| - | - |
| `recordId` | The requested record ID. |
| `creatorAccountUuid` | The recorded Sonoran account UUID associated with creation, or `null`. |
| `creatorAccountSource` | The [source of the creation attribution](https://docs.sonoransoftware.com/cad/api-integration/api-endpoints-v2/general/records#creator-account-uuid), or `null` when no creator evidence is available. |
| `history` | History entries, newest first. An older record with no stored history can return an empty array. |
| `limit`, `offset` | The page size and offset used for the response. |
| `hasMore` | If `true`, request the next page with `offset` increased by `limit`. |

Each history entry contains:

| Field | Description |
| - | - |
| `action` | The recorded action, for example `ADD` or `EDIT`. |
| `actorAccountUuid` | The acting Sonoran account UUID, or `null` when unknown or on a known integration-created `ADD` entry. |
| `timestamp` | When the action was recorded, in ISO 8601 UTC. |
| `changes` | Changed fields. Each item includes `uid`, `label`, `fieldType`, `previousValue`, and `newValue`. |
| `automationIds` | UUID strings for automations associated with the entry. If none are recorded, this is an empty array. |

```json theme={null}
{
  "recordId": 451,
  "creatorAccountUuid": "8acea780-e158-44b8-b3c1-af63b7243e31",
  "creatorAccountSource": "authenticated",
  "history": [
    {
      "action": "EDIT",
      "actorAccountUuid": "dae591ca-85f3-4f44-a40b-318ae33c645c",
      "timestamp": "2026-11-28T19:00:00Z",
      "changes": [
        {
          "uid": "case_number",
          "label": "Case Number",
          "fieldType": "text",
          "previousValue": "SC-2026-001",
          "newValue": "SC-2026-002"
        }
      ],
      "automationIds": []
    }
  ],
  "limit": 1,
  "offset": 0,
  "hasMore": true
}
```

## Status Codes

| Status | Meaning |
| - | - |
| `200` | History returned. |
| `400` | Invalid record ID or pagination parameters. |
| `401` | Missing or invalid API key. |
| `404` | No matching custom record in the API key's community. |
| `429` | Rate limit exceeded. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.