DocsAPI ReferenceContract/bff/contract/pdf-preview
getContractAdmin BFF

/bff/contract/pdf-preview

Renders the current contract content (Markdown to HTML to PDF) and returns the PDF binary for inline preview. This does not persist the PDF — use /finalize for permanent storage.

ContractgetBffContractPdf-preview

Parameters

1 query

1 total
Query · 1
idstringRequired

Contract external ID.

Request

GET /bff/contract/pdf-preview

get
curl -X GET "https://api.bizkithub.com/bff/contract/pdf-preview?id=ctr_abc123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key