Skip to main content
POST
/
api
/
v1
/
templates
/
{template_id}
/
restore
Restore template
curl --request POST \
  --url https://api.example.com/api/v1/templates/{template_id}/restore \
  --header 'X-API-Key: <api-key>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "filename": "<string>",
  "file_size": 123,
  "template_id": "<string>",
  "org_name": "<string>",
  "status": "<string>",
  "metadata": {
    "category": "<string>",
    "tags": [
      "<string>"
    ],
    "description": "<string>",
    "version": "<string>"
  },
  "download_url": "<string>",
  "download_url_expires_in": 123,
  "file_hash": "<string>",
  "file_hash_algorithm": "<string>",
  "content_type": "<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

Template response schema.

created_at
string<date-time>
required
updated_at
string<date-time>
required
filename
string
required
file_size
integer
required
template_id
string
required
org_name
string
required
status
string
required
metadata
TemplateMetadata · object
required

Template metadata.

download_url
string | null
download_url_expires_in
integer | null
file_hash
string | null
file_hash_algorithm
string | null
content_type
string | null