PUT
/api/v1/document/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/document/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Client Service Agreement","client_uuids":["49fe068f-64db-4d7e-bb2d-48751a6af87e","744e3847-ff9a-4c70-afac-53f4c009e7ec"],"known_dependants":[{"client-1":"1ff95662-fcb2-4600-9aa0-ef3a4aa3895c"}]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"49fe068f-64db-4d7e-bb2d-48751a6af87e",
"744e3847-ff9a-4c70-afac-53f4c009e7ec"
],
"known_dependants": [
{
"client-1": "1ff95662-fcb2-4600-9aa0-ef3a4aa3895c"
}
]
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "e5c459d0-a75a-4d91-a533-b2afa6626218",
"status": "published",
"version": 3,
"created_at": "2025-09-17T15:46:52+01:00",
"updated_at": "2025-09-17T15:46:52+01:00",
"public_pdf_url": "https://api.plannrcrm.com/document/ce303aab-02a8-4c9e-94d0-3623ffacadf9/content/pdf?plannr_account_uuid=82f44a68-59fd-4f6d-b2ad-f18d2025d10c",
"public_docx_url": "https://api.plannrcrm.com/document/096a8bfb-2f93-4628-931c-3b080b361feb/content/docx?plannr_account_uuid=4b88d6bf-7367-41d9-b76b-7a2e1c36539a",
"public_sfdt_url": "https://api.plannrcrm.com/document/92bc381c-97b0-4e39-9784-56d79eb4db00/content/sfdt?plannr_account_uuid=abdd84bb-d4bd-4940-8115-ac2d2d293ead",
"known_dependants": {
"client-1": "69187eb1-f07a-44cd-af82-2541b8367cdd"
},
"public_preview_url": "https://api.plannrcrm.com/document/a4330234-44f5-4d4a-961c-1829b48741c4/content/preview?plannr_account_uuid=6041cb55-3101-4cd4-80a9-b2f46092e7cd",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}