Document creation webhook API for Make.com
Overview
An API to invoke the document generation based on the trigger event and the data from the event.
Base URL
Authentication
API is protected by API Key authentication which need to be configured in Make scenario configuration.
Rate Limiting
No rate limits for the paid users. For free and demo accounts the rate limit is set as 5 request per minutes(only for Create document API).
Endpoints
1. User API
POST /user
Description:
For API Key authentication verification and to fetch the account information.
Parameters:
apiToken
(string): API Token for authentication purpose
Request:
Response
2. Get available Template list API
GET /template
Description:
To fetch and select templates created in Docsgenflow.com and create the scenario flow for generating the documents using the selected template document.
Parameters:
apiToken
(string): API Token for authentication purpose
Request:
Response
3. Fetch the Mergefields for the selected Template
GET /fields
Description:
To fetch the Mergefields configured in the selected template. Those fields has to be mapped with the input fields from the trigger event.
Parameters:
apiToken
(string): API Token for authentication purposetemplateId
(String): Selected templateID
Request:
Response
4. Document generation API
GET /creatdocument
Description:
To trigger document generation process.
Parameters:
apiToken
(string): API Token for authentication purposetemplateId
(String): Selected templateIDdata
(JSON) : data from the trigger
Request:
Response