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": "e2fce646-9782-46a4-9269-bedfba8b670c",
"status": "published",
"version": 3,
"created_at": "2026-02-06T09:09:44+00:00",
"updated_at": "2026-02-06T09:09:44+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/dc783420-179f-45f8-88ed-d019f7cb62b3/content/pdf?plannr_account_uuid=346dd40b-3e99-426a-bc71-928c7d1caed9",
"public_docx_url": "https://api.plannrcrm.com/document/bbfa006c-a377-4173-a78d-1b36e9aec932/content/docx?plannr_account_uuid=caa7d1c2-fcf3-4cac-b6c7-3885802b9112",
"public_sfdt_url": "https://api.plannrcrm.com/document/9203ea1d-5239-4574-94b2-cbcf780fdcaa/content/sfdt?plannr_account_uuid=8ab759e4-7307-44b6-b862-62febe209537",
"known_dependants": {
"client-1": "fed657a2-d892-4cba-8343-ce4710fcb8d0"
},
"public_preview_url": "https://api.plannrcrm.com/document/4630fa6a-5b68-435c-b128-8a9d748cf9bc/content/preview?plannr_account_uuid=8052edda-261f-4e65-aef8-fc64a84b00c1",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}