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":["f42fe16f-e582-4c92-aa3d-53ecdca2aa1a","00a41fa6-3aff-4918-b384-5b85cd4331e3","59fd7b83-c149-4ac1-b62e-1b5bcb8ddf2a"],"known_dependants":{"client-1":"ba5c6c35-1125-4a9b-b551-7340ae4b8efc"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"f42fe16f-e582-4c92-aa3d-53ecdca2aa1a",
"00a41fa6-3aff-4918-b384-5b85cd4331e3",
"59fd7b83-c149-4ac1-b62e-1b5bcb8ddf2a"
],
"known_dependants": {
"client-1": "ba5c6c35-1125-4a9b-b551-7340ae4b8efc"
}
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "d91866ca-7ff6-49b9-83de-16bf16ceb5bb",
"status": "published",
"version": 3,
"created_at": "2026-04-08T15:40:47+01:00",
"updated_at": "2026-04-08T15:40:47+01:00",
"public_pdf_url": "https://api.plannrcrm.com/document/77092356-af42-403d-9ab2-f70d89897604/content/pdf?plannr_account_uuid=20ec3aeb-b0de-4617-9415-b2f59cbcddc4",
"public_docx_url": "https://api.plannrcrm.com/document/69dfe1a4-aad4-49b4-b12d-d677333f6147/content/docx?plannr_account_uuid=0dcf7c76-c8fa-40d6-82ea-f492c1fac031",
"public_sfdt_url": "https://api.plannrcrm.com/document/0b300574-c9c6-45b2-bf95-ac4ca3afb2f5/content/sfdt?plannr_account_uuid=4af0f5c3-748b-4ad1-ae41-354da6be19df",
"known_dependants": {
"client-1": "713e562a-58a2-4a19-8e27-ffb83c482432"
},
"public_preview_url": "https://api.plannrcrm.com/document/bf39ab81-76bc-41b3-81ef-0d66b37b0a8b/content/preview?plannr_account_uuid=8588aebb-398e-41b6-821c-4dc25fc270fb",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}