Create a document template
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
POST
/api/v1/document-template
curl \
-X POST https://api.plannrcrm.com/api/v1/document-template \
-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":"Client Service Agreement"}'
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": "Client Service Agreement"
}
Response examples (201)
{
"name": "Welcome Template",
"uuid": "26fa2f00-1d9b-400e-aef0-5020ed727544",
"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/eb3b78e7-ae3e-4c52-a279-4897c2c1fb01/content/pdf?plannr_account_uuid=89c3f4c4-c2ec-4c32-9ab1-d41e504caf16",
"public_docx_url": "https://plannr.valet/document-template/374b48b9-91b0-4acc-8b5f-303da0f2660c/content/docx?plannr_account_uuid=3e17030b-88a8-4a07-9843-7c59c098c240",
"public_sfdt_url": "https://plannr.valet/document-template/bc3fbda8-d183-484b-816c-77c563023cba/content/sfdt?plannr_account_uuid=e5e68223-3487-435b-a09b-8bef972daa5e",
"public_preview_url": "https://plannr.valet/document-template/2186e028-fd0b-4a5d-b469-a62b24bf3211/content/preview?plannr_account_uuid=f86b6ef0-2898-4389-b22c-b8791a5b2450",
"required_dependants": {
"client-1": "client"
}
}