Update the DOCX content of a template

POST /api/v1/document-template/{documentTemplate_uuid}/content/docx

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • documentTemplate_uuid string Required
application/json

Body Required

  • file uploaded-file Required

    The DOCX file - must be less than 50mb in size.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/document-template/{documentTemplate_uuid}/content/docx
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/document-template/6ff8f7f6-1eb3-3525-be4a-3932c805afed/content/docx' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"file":"binary"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "file": "binary"
}
Response examples (401)
{
  "message": "Unauthenticated."
}