Get template by ID
GET/template/:template_id
Request
Path Parameters
template_id strngrequired
ID of template that needs to be fetched
Header Parameters
x-api-token stringrequired
Example: opensign.xxxx
Responses
- 200
- 404
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
code number
result
createtemplate
Name string
Note string
Description string
URL string
signers signers[]
folderId string
{
"code": 200,
"result": {
"Name": "sample template",
"Note": "Please review and sign this document",
"Description": "template description",
"URL": "https://yourimage.com",
"signers": [
"joe@gmail.com",
"john@gmail.com"
],
"folderId": "xjsba1GaxP"
}
}
Template not found!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 404,
"message": "Template not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 405,
"message": "Invalid API token!"
}
Loading...