Draft Template
POST/drafttemplate
The Draft Template API allows you to create customizable draft templates .The API returns a unique template_id that can be used to generate documents based on the specified template and url to edit template.
Request
- application/json
Body
required
file base64required
title stringrequired
note string
description string
sendInOrder boolean
Responses
- 200
- 400
- 405
Template created successfully!
- application/json
- Schema
- Example (from schema)
Schema
objectId number
url string
{
"objectId": 0,
"url": "https://url-to-edit-template.com"
}
Something went wrong, please try again later!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Something went wrong, please try again later!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...