Download the signed PDF
Get a short-lived download link for the signed PDF.
GET
https://api.centerfy.ai/webhooks/inbound/contracts/:id/pdf 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. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/contracts/{id}/pdf" \
-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.pdf("<contractId>");
console.log(result); centerfy contracts pdf <contractId> MCP tool: centerfy_contracts_pdf (see MCP server)
Response
{
"status": "success",
"contract_id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
"url": "https://storage.example.com/contracts/signed-contract.pdf?token=example",
"expires_in": 300,
"expires_at": "2026-10-06T12:05:00.000Z"
}Errors
409— if there is no signed PDF yet (it is created once every signer has signed).404— if the contract is not in this sub-account.
Notes
The link expires after 300 seconds — request a new one each time.