Create Document from SmartSuite
curl --request POST \
--url https://api.docsautomator.co/createDocument \
--header 'Content-Type: application/json' \
--data '
{
"docId": "<string>",
"recId": "<string>",
"async": true,
"webhookParams": {},
"docTemplateLink": "<string>"
}
'Documents
Create Document from SmartSuite
Trigger document generation for a SmartSuite record via the API
POST
/
createDocument
Create Document from SmartSuite
curl --request POST \
--url https://api.docsautomator.co/createDocument \
--header 'Content-Type: application/json' \
--data '
{
"docId": "<string>",
"recId": "<string>",
"async": true,
"webhookParams": {},
"docTemplateLink": "<string>"
}
'When your automation’s data source is set to SmartSuite, you only need to pass the record ID. All field mapping, line items, and output settings are pulled from the DocsAutomator app automatically.
Additional fields like
For setup instructions on connecting SmartSuite to DocsAutomator, see the SmartSuite integration guide.
Endpoint
POST https://api.docsautomator.co/createDocument
Request Body
The automation ID. Find it on the automation’s settings page or via
GET /automations.The SmartSuite record ID. DocsAutomator fetches all mapped fields from this record automatically.
When
true, returns immediately with a jobId (HTTP 202). Poll GET /job/{jobId} for the result.Custom parameters passed through to webhook notifications as
additionalParams.Override the automation’s Google Doc template URL for this request only.
Example
curl -X POST https://api.docsautomator.co/createDocument \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"docId": "YOUR_AUTOMATION_ID",
"recId": "YOUR_SMARTSUITE_RECORD_ID"
}'
Response
{
"message": "success",
"pdfUrl": "https://files.docsautomator.co/..."
}
googleDocUrl, savePdfGoogleDriveUrl, and e-signature fields are included depending on your automation’s configuration. See the API data source page for the full list.Last modified on April 7, 2026
⌘I