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": "fc6dfa18-5034-440b-84f5-058fe6cd88bb",
"status": "published",
"version": 3,
"created_at": "2025-12-04T22:09:16+00:00",
"updated_at": "2025-12-04T22:09:16+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/307bbbb7-af98-4cc7-800e-d0e638747d9f/content/pdf?plannr_account_uuid=c4e5d49a-9cec-4785-b4b8-9f85bc0c36ae",
"public_docx_url": "https://api.plannrcrm.com/document/5705fd0f-aa42-43cb-8511-de7a995ed740/content/docx?plannr_account_uuid=8b220ac5-1aa5-41ec-be07-eaf13cd8969f",
"public_sfdt_url": "https://api.plannrcrm.com/document/7fca721e-eb0f-48be-a059-e841336b8ad9/content/sfdt?plannr_account_uuid=bddc4b6d-85ad-4ca7-ba4f-278782c2d614",
"known_dependants": {
"client-1": "c832fab0-dcaa-48cd-849d-abb79bccc78f"
},
"public_preview_url": "https://api.plannrcrm.com/document/95411fde-68a2-4cb8-bfd4-0d5ebbac890b/content/preview?plannr_account_uuid=00e6ceb1-269d-4ff3-8043-101b6c0c5c7b",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}