Create Document
+Create Document
POST/createdocument
The Create Document API allows users to generate new documents by providing data with base64 encoded file. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.
Request
diff --git a/docs/API-docs/createdocumentwithbinary/index.html b/docs/API-docs/createdocumentwithbinary/index.html index 148ebb6d6..bed0eeacb 100644 --- a/docs/API-docs/createdocumentwithbinary/index.html +++ b/docs/API-docs/createdocumentwithbinary/index.html @@ -5,11 +5,11 @@Create Document from binary
+Create Document from binary
POST/createdocumentwithbinary
The Create Document API allows users to generate new documents by providing data through multipart/form-data. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.
Request
diff --git a/docs/API-docs/createdocumentwithtemplateid/index.html b/docs/API-docs/createdocumentwithtemplateid/index.html index a8a272e55..fec2a5512 100644 --- a/docs/API-docs/createdocumentwithtemplateid/index.html +++ b/docs/API-docs/createdocumentwithtemplateid/index.html @@ -5,16 +5,16 @@Create Document from Template
+Create Document from Template
POST/createdocument/:template_id
The Create Document API allows you to generate new documents by providing template_id.
Request
Path Parameters
objectId of Template
- application/json
Body
required
Array [
]
signers
object[]
Responses
- 200
- 400
- 405
In success response you will get url in response if you are also signer in document otherwise only get objectId, messsage
- application/json
- Schema
- Example (from schema)
Schema
{
"objectId": "hji2zxcv2P",
"url": "https://example.com",
"message": "Document sent successfully!"
}
If you haven't add widgets and signers in template or not provide signers along with their roles in body
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Please setup template properly!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Invalid API token!"
}
Responses
- 200
- 400
- 405
In success response you will get url in response if you are also signer in document otherwise only get objectId, messsage
- application/json
- Schema
- Example (from schema)
Schema
{
"objectId": "hji2zxcv2P",
"url": "https://example.com",
"message": "Document sent successfully!"
}
If you haven't add widgets and signers in template or not provide signers along with their roles in body
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Please setup template properly!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Invalid API token!"
}