Get the printable quote
Get the printable quote document as an HTML string — the same page the app opens to print or save as PDF.
GET
https://api.centerfy.ai/webhooks/inbound/quotes/: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 quote or estimate id. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/quotes/{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.quotes.pdf("<quoteId>");
console.log(result); centerfy quotes pdf <quoteId> MCP tool: centerfy_quotes_pdf (see MCP server)
Response
{
"status": "success",
"quote_id": "f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c",
"format": "html",
"html": "<!DOCTYPE html><html>…</html>"
}Errors
502— if the document could not be rendered.404— if the quote is not in this sub-account.
Notes
Despite the path, the response is JSON containing HTML, not a PDF file.