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":["593973c3-78a3-4d3e-92cc-4359f8305ca9","0dfd5671-64be-4d87-bae4-4c89ee12bca7"],"known_dependants":[{"client-1":"fe819c0f-47b9-4e35-94e9-29da646e95e6"}]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"593973c3-78a3-4d3e-92cc-4359f8305ca9",
"0dfd5671-64be-4d87-bae4-4c89ee12bca7"
],
"known_dependants": [
{
"client-1": "fe819c0f-47b9-4e35-94e9-29da646e95e6"
}
]
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "39330211-9233-4eb6-a0fe-e040990b78e5",
"status": "published",
"version": 3,
"created_at": "2025-12-04T22:09:16+00:00",
"updated_at": "2025-12-04T22:09:16+00:00",
"public_pdf_url": "https://api.plannrcrm.com/document/b7ef6840-8e76-423c-8276-7f58bd4c53b4/content/pdf?plannr_account_uuid=cda00e09-d4b3-4964-b5ee-28e10daec9b3",
"public_docx_url": "https://api.plannrcrm.com/document/e226b918-7bd1-4081-adfc-a10e44c541ad/content/docx?plannr_account_uuid=7502da51-e8bf-401c-98cb-85bab1b0fa55",
"public_sfdt_url": "https://api.plannrcrm.com/document/c2e9503c-d91e-41c3-b0a6-3122ad88b67e/content/sfdt?plannr_account_uuid=0de34290-ed49-4760-b3a6-c493d1b27578",
"known_dependants": {
"client-1": "a6cacb5a-de9c-43bb-bdaa-d6297897e89c"
},
"public_preview_url": "https://api.plannrcrm.com/document/09186886-b316-405c-8351-d3aa3cdca929/content/preview?plannr_account_uuid=407fc074-515c-43ad-8ce4-552016845c1d",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}