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": "b90e9418-e50c-465d-85d2-7fb9b30b2971",
"version": 3,
"created_at": "2025-06-05T11:39:40+01:00",
"updated_at": "2025-06-05T11:39:40+01:00",
"public_pdf_url": "https://plannr.valet/document-template/7e75bdbf-4f45-4915-a4d7-d502b8fcf5a3/content/pdf?plannr_account_uuid=a08ae36b-e911-4a57-9c7e-2160c4ab3192",
"public_docx_url": "https://plannr.valet/document-template/56dafd3b-cde4-48fc-bd9f-61646b020957/content/docx?plannr_account_uuid=84102472-f369-4798-8a24-1bcb1007681c",
"public_sfdt_url": "https://plannr.valet/document-template/f22af931-e9e0-48d3-88e3-322685ce2da9/content/sfdt?plannr_account_uuid=28f2c15c-b0d9-437a-a6e8-389c4b9658b2",
"public_preview_url": "https://plannr.valet/document-template/72d05d79-36c5-4ac0-a963-fad0c725be21/content/preview?plannr_account_uuid=0325ef5f-618c-42cc-bf14-50ed54a02386",
"required_dependants": {
"client-1": "client"
}
}