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":["79b7bef2-6fab-4a7c-82d5-ba5cfc1647db","569ef6d9-3746-44c9-b890-34f3f9d791c9","ac956718-e1e9-4e6a-b9b5-9e16536674f9"],"known_dependants":{"client-1":"3dacb569-304d-4e84-8144-5095d03bc372"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"79b7bef2-6fab-4a7c-82d5-ba5cfc1647db",
"569ef6d9-3746-44c9-b890-34f3f9d791c9",
"ac956718-e1e9-4e6a-b9b5-9e16536674f9"
],
"known_dependants": {
"client-1": "3dacb569-304d-4e84-8144-5095d03bc372"
}
}
Response examples (200)
{
"uuid": "e0638275-0dd0-4208-9d85-170e728ffbb0",
"created_at": "2026-05-19T18:31:17+01:00",
"updated_at": "2026-05-19T18:31:17+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": "052ea92f-1b51-4edd-bf1f-32b5cbc354d4"
},
"public_docx_url": "https://api.plannrcrm.com/document/a17d2ffb-df3e-4ebb-b557-051a088deaa1/content/docx?plannr_account_uuid=e6e8b96c-cf95-4c81-a704-c12ef4f1d92c",
"public_sfdt_url": "https://api.plannrcrm.com/document/6189037d-b30d-4d5b-bf92-ba5b9089dd2d/content/sfdt?plannr_account_uuid=872700c7-6e14-4e0e-9774-e3989c008342",
"public_pdf_url": "https://api.plannrcrm.com/document/6f103aea-1e60-439d-a238-4a6597e251e9/content/pdf?plannr_account_uuid=bd24d41b-8517-4246-9165-c3a3c10f11f6",
"public_preview_url": "https://api.plannrcrm.com/document/79ed398a-a4a6-472d-b005-fa5c6408ab0c/content/preview?plannr_account_uuid=a1d2b3e9-9cc1-4fbb-920e-c64f30a252ff"
}