Get the audit trail
Get the contract's audit trail, oldest event first.
GET
https://api.centerfy.ai/webhooks/inbound/contracts/:id/audit Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | Authenticates the request; or use Authorization: Bearer <key>. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | The contract id. |
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | 50 | Page size; minimum 1, maximum 100 (larger values are rejected with 400). |
offset | integer | No | 0 | Number of records to skip for paging; minimum 0. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/contracts/{id}/audit?limit=50&offset=0" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.contracts.audit("<contractId>", {
"limit": 50,
"offset": 0
});
console.log(result); centerfy contracts audit <contractId> '{"limit":50,"offset":0}' MCP tool: centerfy_contracts_audit (see MCP server)
Response
{
"status": "success",
"contract_id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
"total": 2,
"limit": 50,
"offset": 0,
"has_more": false,
"events": [
{
"id": "d4e5f6a7-b8c9-4d0e-8f1a-2b3c4d5e6f70",
"event_type": "created",
"recipient_id": null,
"actor": "api",
"ip_address": null,
"user_agent": null,
"location": null,
"metadata": {
"via": "api",
"template_id": "2e4f6a8b-1c3d-4e5f-9a7b-8c9d0e1f2a3b"
},
"created_at": "2026-10-06T10:00:00.000Z"
},
{
"id": "e5f6a7b8-c9d0-4e1f-9a2b-3c4d5e6f7081",
"event_type": "sent",
"recipient_id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
"actor": "api",
"ip_address": null,
"user_agent": null,
"location": null,
"metadata": {
"email_success": true
},
"created_at": "2026-10-06T10:05:00.000Z"
}
]
}Errors
404— if the contract is not in this sub-account.
Notes
event_type is one of created, updated, sent, reminder_sent, link_opened, viewed, signed, declined, completed, voided, downloaded. ip_address, user_agent and location are recorded for signer actions.