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": "3048bd87-e73a-4277-9e7c-82a77c9312d9",
"status": "published",
"version": 3,
"created_at": "2026-03-18T16:05:26+00:00",
"updated_at": "2026-03-18T16:05:26+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/9de8b24a-ba39-45ac-ba90-c6d7bf67a7c0/content/pdf?plannr_account_uuid=7e5e7ab3-8fce-4922-969e-3c32bedf6f33",
"public_docx_url": "https://api.plannrcrm.com/document/e325f6bc-3a5f-45ec-84fd-22472700b249/content/docx?plannr_account_uuid=007dbe6e-100b-4bdd-b63d-6d961535730e",
"public_sfdt_url": "https://api.plannrcrm.com/document/d6735d70-fafc-410c-8172-65a130fdf2b2/content/sfdt?plannr_account_uuid=71e72443-2d23-49f9-ad10-3634ee919a52",
"known_dependants": {
"client-1": "5c94a0f8-9a85-4e1f-8d7f-26268903f8cb"
},
"public_preview_url": "https://api.plannrcrm.com/document/9b782036-86e0-43c6-bd76-e57545779666/content/preview?plannr_account_uuid=ae252a93-3ae3-4c5b-acd8-6f81a12dfc1d",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}