Publish a document Run in API Explorer
Ask AI
This will make the document un-editable and will upload a DOCX and PDF file to the client.
POST
/api/v1/document/{document_uuid}/publish
curl \
--request POST 'https://api.plannrcrm.com/api/v1/document/6ff8f7f6-1eb3-3525-be4a-3932c805afed/publish' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"name": "Welcome Template",
"uuid": "75d8fd0b-b31f-420e-b3ca-8c62ef865e2f",
"status": "published",
"version": 3,
"created_at": "2026-01-16T13:10:23+00:00",
"updated_at": "2026-01-16T13:10:23+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/15577543-3667-4d35-9cec-65a86ac1a622/content/pdf?plannr_account_uuid=c35544d0-8b17-4182-b3d8-6cdfc4461125",
"public_docx_url": "https://api.plannrcrm.com/document/66168fae-ca60-42c7-a577-1c8c527c3db4/content/docx?plannr_account_uuid=cd7ca329-7301-45b5-9a8a-6c190293ac32",
"public_sfdt_url": "https://api.plannrcrm.com/document/08e49820-d0dc-44c3-a218-32f0eb386463/content/sfdt?plannr_account_uuid=07301bf6-87f8-4d4c-964a-8303f8872d3c",
"known_dependants": {
"client-1": "53bb5048-0662-4643-9e5f-43c6856acee4"
},
"public_preview_url": "https://api.plannrcrm.com/document/d16b5ef1-a86d-43a9-a25e-93d920079cad/content/preview?plannr_account_uuid=c357ee91-135a-4d93-ad09-eefacaa810ce",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}