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":["febf4cd9-fa93-43b0-898e-f70c3b6fadee","e04da10b-4816-4594-9474-049c5c1d8c89","ed960835-9017-472d-b11e-3037f8c239d2"],"known_dependants":{"client-1":"46bbd04c-7a6c-47b7-841d-1f0e10b05b69"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"febf4cd9-fa93-43b0-898e-f70c3b6fadee",
"e04da10b-4816-4594-9474-049c5c1d8c89",
"ed960835-9017-472d-b11e-3037f8c239d2"
],
"known_dependants": {
"client-1": "46bbd04c-7a6c-47b7-841d-1f0e10b05b69"
}
}
Response examples (200)
{
"uuid": "df8bb3ea-9c10-46dd-84de-7b1acd486754",
"created_at": "2026-04-28T22:34:36+01:00",
"updated_at": "2026-04-28T22:34:36+01:00",
"version": 3,
"name": "Welcome Template",
"status": "published",
"last_publishing_error": "There was an error converting this file to PDF. Please try again later.",
"required_dependants": {
"client-1": "client"
},
"known_dependants": {
"client-1": "aa100410-e9ba-49d9-8b80-1ae0b380a718"
},
"public_docx_url": "https://api.plannrcrm.com/document/472de047-5fcc-4d12-9858-6c638f32bc90/content/docx?plannr_account_uuid=41b277fa-4dd2-42d6-a0e8-2036393505e6",
"public_sfdt_url": "https://api.plannrcrm.com/document/c7ce9645-247f-4796-90eb-5a6adaa808d5/content/sfdt?plannr_account_uuid=5046a676-f7f2-417b-8d00-c5742f9c39c9",
"public_pdf_url": "https://api.plannrcrm.com/document/51dce4d6-7eb0-4c03-a96c-9fcd4b7e6848/content/pdf?plannr_account_uuid=6048116f-1089-4cb6-b76f-de4472e575b9",
"public_preview_url": "https://api.plannrcrm.com/document/f2a1dc65-02ea-4f17-913a-d39d772e21ad/content/preview?plannr_account_uuid=d9fc82d7-5bb4-4d38-896c-90d1cefc79fd"
}