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":["a9959cfd-c5b2-441a-a9ba-31fa9240aa43","4cd3a42f-7d21-45d2-bd1b-f9a84e0a3cf8","13e9ec4b-b2de-4be0-b950-ae5c135a92d2"],"known_dependants":{"client-1":"e0165580-15b9-416b-aa3b-f21d1e29c0c9"}}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"a9959cfd-c5b2-441a-a9ba-31fa9240aa43",
"4cd3a42f-7d21-45d2-bd1b-f9a84e0a3cf8",
"13e9ec4b-b2de-4be0-b950-ae5c135a92d2"
],
"known_dependants": {
"client-1": "e0165580-15b9-416b-aa3b-f21d1e29c0c9"
}
}
Response examples (200)
[
{
"uuid": "5e5a3964-4714-431c-92e8-d09a3783add6",
"created_at": "2026-08-28T07:34:59+01:00",
"updated_at": "2026-08-28T07:34:59+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": "30ae1424-56a3-419e-a938-0abfbb8a955e"
},
"public_docx_url": "https://api.plannrcrm.com/document/fc15aadf-cc9f-429b-9ad4-9dfedc57fa53/content/docx?plannr_account_uuid=befcf782-a30d-49ca-b6dd-2e59e8bd1cba",
"public_sfdt_url": "https://api.plannrcrm.com/document/9281f88f-5fa7-485f-b47e-9a59406a55b3/content/sfdt?plannr_account_uuid=1734d0e1-048f-492b-ad9a-2a87e313ebf5",
"public_pdf_url": "https://api.plannrcrm.com/document/8709221a-e329-4a7e-b1e0-2f200196f545/content/pdf?plannr_account_uuid=f2c455b2-bc12-4395-a3bc-07d8fbeff822",
"public_preview_url": "https://api.plannrcrm.com/document/f8fbbd50-40ff-47eb-8abd-e006a25d230f/content/preview?plannr_account_uuid=7e1c4687-2c80-43c7-8afe-160fe4fbcf7d"
}
]
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}