Skip to main content
PUT
/
api
/
v1
/
templates
/
{template_id}
/
upload
Upload template file directly
curl --request PUT \
  --url https://api.example.com/api/v1/templates/{template_id}/upload \
  --header 'X-API-Key: <api-key>'
{
  "confirmed": true,
  "template_id": "<string>",
  "status": "<string>",
  "file_size": 123,
  "file_hash": "<string>",
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://duomi.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Production API key. Development/test deployments may also allow X-Org-Name.

Path Parameters

template_id
string
required

Response

Successful Response

Response schema for confirming upload completion.

confirmed
boolean
required

Whether the upload was confirmed successfully

template_id
string
required
status
string
required

Current template status

file_size
integer | null

File size in bytes

file_hash
string | null

SHA256 hash of the file

error
string | null

Error message if confirmation failed