Update a document Run in API Explorer
Ask AI
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":["e50ad663-4dad-4068-9306-f8bf2aeb1f3e","07aeca84-1160-48b6-bef8-b592211ddc7f","5168d544-f57e-4c2d-ba35-d884dc4e50a9"],"known_dependants":{"client-1":"8cde4c6f-4072-42a5-a185-814ed04783d5"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"e50ad663-4dad-4068-9306-f8bf2aeb1f3e",
"07aeca84-1160-48b6-bef8-b592211ddc7f",
"5168d544-f57e-4c2d-ba35-d884dc4e50a9"
],
"known_dependants": {
"client-1": "8cde4c6f-4072-42a5-a185-814ed04783d5"
}
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "e2fce646-9782-46a4-9269-bedfba8b670c",
"status": "published",
"version": 3,
"created_at": "2026-02-06T09:09:44+00:00",
"updated_at": "2026-02-06T09:09:44+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/dc783420-179f-45f8-88ed-d019f7cb62b3/content/pdf?plannr_account_uuid=346dd40b-3e99-426a-bc71-928c7d1caed9",
"public_docx_url": "https://api.plannrcrm.com/document/bbfa006c-a377-4173-a78d-1b36e9aec932/content/docx?plannr_account_uuid=caa7d1c2-fcf3-4cac-b6c7-3885802b9112",
"public_sfdt_url": "https://api.plannrcrm.com/document/9203ea1d-5239-4574-94b2-cbcf780fdcaa/content/sfdt?plannr_account_uuid=8ab759e4-7307-44b6-b862-62febe209537",
"known_dependants": {
"client-1": "fed657a2-d892-4cba-8343-ce4710fcb8d0"
},
"public_preview_url": "https://api.plannrcrm.com/document/4630fa6a-5b68-435c-b128-8a9d748cf9bc/content/preview?plannr_account_uuid=8052edda-261f-4e65-aef8-fc64a84b00c1",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}