BizKitHub
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

Query parameters

· 1
idstringRequired

Contract external ID.

Examplectr_abc123

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

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"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key