Create Template
POST/createtemplate
The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique template_id that can be used to generate documents based on the specified template .
Upload you pdf in debug PDF here you can draw widgets and copy co-oridnate, page number of them. also you can copy base64 of PDF
Request
- application/json
Body
required
Array [
Array [
]
]
file base64
title string
note string
description string
signers
object[]
role string
email string
name string
phone string
widgets
object[]
type string
page number
x number
y number
w number
h number
Responses
- 200
- 405
Template created successfully!
- application/json
- Schema
- Example (from schema)
Schema
objectId string
message string
{
"objectId": "Bh2Hspnmch",
"message": "Template created successfully!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...