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": "16a7d83c-6e52-4e07-9a15-b2529efbc439",
"status": "published",
"version": 3,
"created_at": "2025-08-07T13:41:43+01:00",
"updated_at": "2025-08-07T13:41:43+01:00",
"public_pdf_url": "https://api.plannrcrm.com/document/fd9c2e89-e1c4-43fa-86af-7c5eef9bd064/content/pdf?plannr_account_uuid=70f684b7-6ee0-4c07-b753-655c079cbf22",
"public_docx_url": "https://api.plannrcrm.com/document/f67296c5-1dea-4add-92c8-6690e8706388/content/docx?plannr_account_uuid=e9deb612-e321-48b6-ab41-5ca069c847ef",
"public_sfdt_url": "https://api.plannrcrm.com/document/7461b207-4844-4d17-9594-ca8c6b7b02a3/content/sfdt?plannr_account_uuid=84bcb17c-277d-45ff-b32a-600ef51ad813",
"known_dependants": {
"client-1": "06031a96-bc6b-472c-a956-6707a523cafd"
},
"public_preview_url": "https://api.plannrcrm.com/document/11619a2f-597a-42af-890b-89c3c7681742/content/preview?plannr_account_uuid=197226e9-36e7-4c48-a6ed-c20c3c94aad2",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}