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": "1b061bb8-1c9e-4b88-9d6b-53c56e107be8",
"version": 3,
"created_at": "2025-05-14T18:27:14+01:00",
"updated_at": "2025-05-14T18:27:14+01:00",
"public_pdf_url": "https://plannr.valet/document-template/de6b0f5c-726d-4004-a91d-fdb31f467090/content/pdf?plannr_account_uuid=bcc5b17c-4145-4a70-8063-5e8e8e5bf755",
"public_docx_url": "https://plannr.valet/document-template/af81352c-82d8-4a03-b33a-5a7694576d69/content/docx?plannr_account_uuid=a411d617-0cc1-4cf8-82d3-7ea524f60577",
"public_sfdt_url": "https://plannr.valet/document-template/58451b6c-f1c6-464b-87b5-efa67a41d58b/content/sfdt?plannr_account_uuid=dc8e4d1d-bc53-48f3-ab6f-c21189ced7a5",
"public_preview_url": "https://plannr.valet/document-template/3bfd2d5e-cb94-4497-a9e0-57d17f7dcd12/content/preview?plannr_account_uuid=69889cd2-595a-47c6-b84b-e8886a4e7163",
"required_dependants": {
"client-1": "client"
}
}