Update a document template Run in API Explorer
Ask AI
PUT
/api/v1/document-template/{documentTemplate_uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/document-template/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":"Welcome Template"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Welcome Template"
}
Response examples (200)
[
{
"uuid": "15ce92ae-a7f6-43cf-8056-d4d43f44c6e9",
"created_at": "2026-08-28T07:34:59+01:00",
"updated_at": "2026-08-28T07:34:59+01:00",
"version": 3,
"name": "Welcome Template",
"required_dependants": {
"client-1": "client"
},
"public_docx_url": "https://api.plannrcrm.com/document-template/afba45da-800c-466f-8d1b-d352b142ffbf/content/docx?plannr_account_uuid=6e5cc833-2ae1-4deb-a804-895afce5785b",
"public_sfdt_url": "https://api.plannrcrm.com/document-template/64675253-771d-4b0a-a49e-5b4a117567ba/content/sfdt?plannr_account_uuid=31044017-daf4-4387-b1e0-57e8da351c36",
"public_pdf_url": "https://api.plannrcrm.com/document-template/a3577ce1-8705-4d32-9e85-fa166c421ec5/content/pdf?plannr_account_uuid=8bc85ec2-7c4a-44a7-ad61-a93f9ee3eca5",
"public_preview_url": "https://api.plannrcrm.com/document-template/8c670ee2-1d4b-4bd5-8848-3e139112b4e7/content/preview?plannr_account_uuid=c52ae5d4-cc11-4df0-88c2-2882f23b051d"
}
]
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}