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": "798b9b14-3616-4f13-bd36-b931439de741",
"status": "published",
"version": 3,
"created_at": "2025-08-27T17:31:26+01:00",
"updated_at": "2025-08-27T17:31:26+01:00",
"public_pdf_url": "https://api.plannrcrm.com/document/cefa8234-1e5a-4c35-8f19-f3d10e244904/content/pdf?plannr_account_uuid=5496acba-39bf-4d21-8a05-cb283c327fbe",
"public_docx_url": "https://api.plannrcrm.com/document/d5cdc1a3-3836-4dcb-a403-424e980060d6/content/docx?plannr_account_uuid=074c783e-bdaa-4754-a97c-772addf7d093",
"public_sfdt_url": "https://api.plannrcrm.com/document/b496a5b6-8841-40dc-bee9-6e4d58ceefe8/content/sfdt?plannr_account_uuid=16e111d0-d77c-4950-9e85-2665f2a8a722",
"known_dependants": {
"client-1": "968f377e-029a-4894-a65a-141339d4f43d"
},
"public_preview_url": "https://api.plannrcrm.com/document/2f9bb65d-4d08-475d-98be-534c424e80fa/content/preview?plannr_account_uuid=1978baef-19e7-4f65-96b0-ba49b375e49c",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}