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": "59562fcc-f320-472e-8bbe-75967011a4f2",
"created_at": "2026-10-07T23:35:46+01:00",
"updated_at": "2026-10-07T23:35:46+01:00",
"version": 3,
"name": "Welcome Template",
"required_dependants": {
"client-1": "client"
},
"public_docx_url": "https://api.plannrcrm.com/document-template/eb22e512-2148-4fb8-a3f0-ba4deeb0219b/content/docx?plannr_account_uuid=766b2b7e-db10-4e12-843e-868ba12fd585",
"public_sfdt_url": "https://api.plannrcrm.com/document-template/fdc1e04d-964f-41f2-bd6d-73a07deebae3/content/sfdt?plannr_account_uuid=477b721b-2f89-43e9-b8bc-904a513aaf59",
"public_pdf_url": "https://api.plannrcrm.com/document-template/2f22014e-eb58-4260-8041-dbe1afe2f9d5/content/pdf?plannr_account_uuid=cb904b82-53c9-4963-ad3f-cf9d8180b215",
"public_preview_url": "https://api.plannrcrm.com/document-template/a237969a-1b99-4de5-9d68-7b3da85aff50/content/preview?plannr_account_uuid=a29a2e7e-5105-40dd-b994-b350e5381b52"
}
]
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}