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":["dc55258a-bfcd-4db9-90f5-576c02d2748d","7abe4046-20fb-4d62-afb2-a097897bdfbb","c9c261ec-963a-4856-acf0-e84e04332799"],"known_dependants":{"client-1":"b80a4f0b-87dc-48aa-993a-4fd9ec97523c"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"dc55258a-bfcd-4db9-90f5-576c02d2748d",
"7abe4046-20fb-4d62-afb2-a097897bdfbb",
"c9c261ec-963a-4856-acf0-e84e04332799"
],
"known_dependants": {
"client-1": "b80a4f0b-87dc-48aa-993a-4fd9ec97523c"
}
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "8ec0c0e5-a84f-4fcd-a2fc-f631b43b8d77",
"status": "published",
"version": 3,
"created_at": "2026-02-26T15:22:28+00:00",
"updated_at": "2026-02-26T15:22:28+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/7c3dd55c-9a43-4dc9-a2ac-243848e965b1/content/pdf?plannr_account_uuid=b532d662-3f34-4321-a942-eb459bff0a00",
"public_docx_url": "https://api.plannrcrm.com/document/f8f702cc-c898-445e-a3a3-bb4365183d39/content/docx?plannr_account_uuid=d8fcabf5-9def-4af1-be83-160e03bf62ca",
"public_sfdt_url": "https://api.plannrcrm.com/document/f5fb47ab-b8cf-4b6e-981b-6623ee4ac11b/content/sfdt?plannr_account_uuid=e7ca7181-9c51-4ad7-8c26-4d2aca1edbde",
"known_dependants": {
"client-1": "9b73a045-e8bc-42a0-83f5-57debf409bfc"
},
"public_preview_url": "https://api.plannrcrm.com/document/ddd79a6e-228b-483b-9c4b-f17e52c26876/content/preview?plannr_account_uuid=dfbd12cc-152e-4e35-a15c-84c092a7ceda",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}