Update a document template
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
PUT
/api/v1/document-template/{documentTemplate_uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/document-template/documentTemplate_uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"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": "9e3c95f8-3e7b-4b95-9498-2ac79d0aaff9",
"version": 3,
"created_at": "2025-01-17T11:18:30+00:00",
"updated_at": "2025-01-17T11:18:30+00:00",
"public_pdf_url": "https://plannr.valet/document-template/b24be5f1-e1f6-44f0-a5ae-f30d3baa7f77/content/pdf?plannr_account_uuid=8f8b5b2d-23bc-4207-b79d-fd7b55f11d0a",
"public_docx_url": "https://plannr.valet/document-template/059331fb-7c18-427e-9fc9-029713a8674f/content/docx?plannr_account_uuid=5826df76-6fd3-4d05-90c2-e53c41e39f1a",
"public_sfdt_url": "https://plannr.valet/document-template/ce96e4ec-d21c-49cd-a975-79ec1c7e43c1/content/sfdt?plannr_account_uuid=31382921-275b-41f3-92b9-e8ec4001aee8",
"public_preview_url": "https://plannr.valet/document-template/6acea717-4029-4473-b636-8f1b1e0512a8/content/preview?plannr_account_uuid=1b163b21-d266-4fac-8bbf-77386f71de67",
"required_dependants": {
"client-1": "client"
}
}