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":["d67a0f85-614a-429a-9eb4-62fcf5664b7d","ee68269f-1604-44f7-90d5-fb4be8147f24","1135cb25-c369-427d-acd0-115b126628c4"],"known_dependants":{"client-1":"1176a36b-cfe3-4be3-9fa5-01c4bbd5cc2a"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"d67a0f85-614a-429a-9eb4-62fcf5664b7d",
"ee68269f-1604-44f7-90d5-fb4be8147f24",
"1135cb25-c369-427d-acd0-115b126628c4"
],
"known_dependants": {
"client-1": "1176a36b-cfe3-4be3-9fa5-01c4bbd5cc2a"
}
}
Response examples (200)
{
"uuid": "1cc28cad-e518-4841-ab20-81e227e0ad47",
"created_at": "2026-06-27T09:33:41+01:00",
"updated_at": "2026-06-27T09:33:41+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": "43aeea76-3514-4b30-9e23-d585ca4cfb90"
},
"public_docx_url": "https://api.plannrcrm.com/document/86fa6f61-bce9-4fdc-a4f1-de18d34b91a2/content/docx?plannr_account_uuid=6d8a7e2d-2a31-4983-bd01-ae8bbf9f7b15",
"public_sfdt_url": "https://api.plannrcrm.com/document/1d3b026a-813f-4ad0-8124-e8b18288163e/content/sfdt?plannr_account_uuid=5f9a50f4-d6cd-4974-a9b2-7ef5a28ed66f",
"public_pdf_url": "https://api.plannrcrm.com/document/5e4314e3-3ae4-411c-9cfb-492c3274bbfd/content/pdf?plannr_account_uuid=04196c5c-99ef-4d0a-8e01-6af75e68ae99",
"public_preview_url": "https://api.plannrcrm.com/document/a6426d0d-5e09-4e1e-a2ac-8ec898b9569b/content/preview?plannr_account_uuid=9e31c6e4-c699-4a4e-bf49-1bef612986d3"
}