Upload a template PDF

Uploads a PDF document template and creates a template record.

Authentication

AuthorizationBearer

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
Must be a file. Must not be greater than 10240 kilobytes.
namestringRequired
Must not be greater than 255 characters.
descriptionstring or nullOptional
Must not be greater than 1000 characters.
entity_typeenumRequired
entity type value.

Response

Successful POST response for /api/v1/document-templates/upload.

statusenum
Allowed values:
messagestring
dataobject