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": "d20b8265-93d9-4ad7-a84e-477553a48d15",
"version": 3,
"created_at": "2025-06-17T14:20:20+01:00",
"updated_at": "2025-06-17T14:20:20+01:00",
"public_pdf_url": "https://plannr.valet/document-template/5f52d633-b108-4fe4-8dee-796b24185f5e/content/pdf?plannr_account_uuid=49da0645-1f57-40a0-a6cb-02e4007ee550",
"public_docx_url": "https://plannr.valet/document-template/22ea9944-da15-4531-9a4b-651f0a251548/content/docx?plannr_account_uuid=a9d37975-7e91-4021-9a5f-e7779db6f5c9",
"public_sfdt_url": "https://plannr.valet/document-template/8cb4eeaa-5730-4a14-beeb-5dd4aeb2cdf0/content/sfdt?plannr_account_uuid=e99ad101-7814-4f90-bd2d-bd61c4ef97af",
"public_preview_url": "https://plannr.valet/document-template/80652d71-fe6f-4796-a082-89b5940f942c/content/preview?plannr_account_uuid=bc53a2e4-407e-4d47-9e42-51037d871cad",
"required_dependants": {
"client-1": "client"
}
}