Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
POST
/api/v1/document-template
curl \
--request POST 'https://api.plannrcrm.com/api/v1/document-template' \
--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":"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": "7588509e-4632-4e2a-9e1d-d80e26d79c7d",
"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/7d6d59fb-4fee-4ebe-8ab4-1bece7e68fa0/content/pdf?plannr_account_uuid=e26dad34-ea62-4adf-9d89-ab3b0741c72f",
"public_docx_url": "https://plannr.valet/document-template/89e3cc0b-45d9-4517-bd77-56edb3d035f6/content/docx?plannr_account_uuid=dd1e3b10-4c12-403e-a134-78a69e321dc3",
"public_sfdt_url": "https://plannr.valet/document-template/763dc180-9227-4377-a29e-354f46465f66/content/sfdt?plannr_account_uuid=f8758c29-c1cc-4b67-92a7-5e6f27f4e81e",
"public_preview_url": "https://plannr.valet/document-template/9cd3dd27-3f83-4a0e-a650-b9d4d370f6fb/content/preview?plannr_account_uuid=974effdf-832c-49b6-ba5e-6f2e76b3710e",
"required_dependants": {
"client-1": "client"
}
}