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)
[
{
"uuid": "2c15a28c-2de2-47c5-938b-fe4595cd6785",
"created_at": "2026-11-18T20:11:44+00:00",
"updated_at": "2026-11-18T20:11:44+00:00",
"version": 3,
"name": "Welcome Template",
"status": "published",
"last_publishing_error": "There was an error converting this file to PDF. Please try again later.",
"required_dependants": {
"client-1": "client"
},
"known_dependants": {
"client-1": "2f79aca0-1aef-4685-920e-ce7c3e7d5547"
},
"public_docx_url": "https://api.plannrcrm.com/document/7f9b6d39-14bb-422c-bcd6-087761b640f6/content/docx?plannr_account_uuid=7888eb1d-45fe-4620-8564-f2a6bbdb9ef4",
"public_sfdt_url": "https://api.plannrcrm.com/document/fbcafe0c-59b8-426a-834b-6df78d5325df/content/sfdt?plannr_account_uuid=7037c7dd-5720-4dc8-a821-c40f95cdb3a2",
"public_pdf_url": "https://api.plannrcrm.com/document/bd61421a-6fd7-41ee-9da4-e40fb8676440/content/pdf?plannr_account_uuid=f3ce11ae-e343-49b0-9bc0-dfce16486527",
"public_preview_url": "https://api.plannrcrm.com/document/bc468090-82a2-4162-b669-e093cdba3797/content/preview?plannr_account_uuid=a2392631-4b94-447c-82e6-5cf7e12d4cb8"
}
]