Update a document template
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
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": "94e66c2d-88a0-4484-9d6d-c32c355c52cb",
"version": 3,
"created_at": "2025-02-20T10:13:03+00:00",
"updated_at": "2025-02-20T10:13:03+00:00",
"public_pdf_url": "https://plannr.valet/document-template/eb8f4176-2a46-47c1-9bb0-95371a9c2798/content/pdf?plannr_account_uuid=363909f5-a46a-4b32-ade7-63fedf0d7435",
"public_docx_url": "https://plannr.valet/document-template/60ffa02a-ae90-4a9d-89be-ee6c542e579f/content/docx?plannr_account_uuid=6c3a4988-c9a0-4e70-90eb-aea2170affd3",
"public_sfdt_url": "https://plannr.valet/document-template/7e0e4873-fd80-4450-a145-e6267c8768dc/content/sfdt?plannr_account_uuid=6b0c2ad4-ac6a-4520-8111-23b1d82219d4",
"public_preview_url": "https://plannr.valet/document-template/2d7bac5e-a022-4ecd-8c89-3c801052ff30/content/preview?plannr_account_uuid=ca70881d-3ef2-42e0-b0bf-89a944c9adf5",
"required_dependants": {
"client-1": "client"
}
}