Update a document template
Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Path parameters
-
documentTemplate_uuid
string Required
PUT
/api/v1/document-template/{documentTemplate_uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/document-template/documentTemplate_uuid' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Welcome Template"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Welcome Template"
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "fdaf01bb-e919-4619-8d89-337e79074177",
"version": 3,
"created_at": "2025-06-05T11:39:40+01:00",
"updated_at": "2025-06-05T11:39:40+01:00",
"public_pdf_url": "https://plannr.valet/document-template/8a0e1510-0113-4087-a5ea-73169a397d43/content/pdf?plannr_account_uuid=086daa22-50d0-4927-a801-6f6dd04ce8c6",
"public_docx_url": "https://plannr.valet/document-template/a4d8a999-60a1-4858-96a5-c09fc3a5ef7b/content/docx?plannr_account_uuid=f251d5c1-2de5-44b3-8d8f-339f3114dbf0",
"public_sfdt_url": "https://plannr.valet/document-template/1f9fd87d-ed22-4462-a477-da6f48d14f3e/content/sfdt?plannr_account_uuid=860fe7eb-e0c3-4dc0-92a9-1a24752d09bf",
"public_preview_url": "https://plannr.valet/document-template/6a30911f-440c-4413-82d5-20349c64e2d3/content/preview?plannr_account_uuid=1dc647bd-fc44-46a5-9f51-6cc7d3d4ee5c",
"required_dependants": {
"client-1": "client"
}
}