Parameters
JSON body
Request body
application/jsonidstringRequiredContract external ID to finalize.
Example
ctr_abc123Generates the final PDF from the contract content, uploads it to blob storage, and links it to the contract record. Sets the contract status to "approved" and records the signed date. A finalized contract is considered ready for signing. This operation is irreversible — once a PDF is generated, the contract cannot be finalized again.
JSON body
idstringRequiredContract external ID to finalize.
ctr_abc1231 status code documented
successbooleanRequiredWhether the contract was finalized successfully.
blobIdnumberRequiredInternal blob ID of the stored PDF file.
101{
"success": false,
"blobId": 101
}POST /bff/contract/finalize
curl -X POST "https://api.bizkithub.com/bff/contract/finalize" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"id": "ctr_abc123"
}'All BizKitHub public API endpoints require authentication via API key.