REST API for programmatic document creation and automation management
DocsAutomator offers a REST API to create documents programmatically, manage automations, and control e-signature workflows. Use it to add document generation into any software.
Getting Started
1
Create an API key
Create a key in Settings > API keys, or click Create a key for this in the automation’s setup guide. Copy it when you create it, because it is shown once. See API keys.
The API setup guide sends the key in the Authorization header.
2
Authenticate
Pass your API key as a bearer token in the Authorization header:
Send values raw (1234.5, 2026-06-30, true) and let DocsAutomator render them — open the gear icon next to a placeholder and pick a Format: currency, decimals, percent, date styles, or custom true/false labels. Conditions and calculations keep evaluating the raw value; formatting is display-only. See Format Values.
Placeholders & Descriptions
List an automation’s placeholders — and the description of each — before you build a createDocument payload:
{ "placeholders": { "main": ["client_name", "fee", "start_date"], "line_items_1": ["description", "amount"] }, "descriptions": { "client_name": "Full legal name of the customer, from the CRM contact record", "fee": "Total contract fee in EUR, numeric, no currency symbol" }}
descriptions appears when per-placeholder descriptions are set. They tell an API client (or an AI agent) what data belongs in each placeholder. Set them in the app via the gear icon next to a mapping, or via the API:
options.placeholderDescriptions replaces the whole map: read the current map first and send it back with your changes. Each description is a string of at most 2,000 characters.
Automations also carry their own description — what the automation is for and what data it needs. GET /automations and GET /automation return it; set it with {"description": "..."} on updateAutomation, or in the app under Automation Settings.
New automations start in test mode
Every automation you create with createAutomation, and every copy made with duplicateAutomation, starts in test mode (isPreview: true). Test documents are watermarked and free. In test mode, every email, signing, acceptance and approval request goes to the person testing, never to your recipients. With an API key, that is the team member named in actingUserEmail if they belong to the workspace, and otherwise the workspace owner. The createDocument response says where it went in testRecipient, and lists who a live run would reach in recipients.To send every test of an automation to one member instead, set testRecipient to that member’s email with updateAutomation ("" goes back to the default). Only workspace members can be picked; any other address is refused with TEST_RECIPIENT_NOT_MEMBER. A picked member gets every test of the automation, whoever runs it. GET /automation returns the current choice as an object in testRecipient: mode is "member" for a picked member and "runner" for the default, name and email name the picked member (or, for the default, the workspace owner), and fallback is true when the picked member has left the workspace and tests use the default again.When the automation is ready, switch it to live:
From then on, createDocument makes live documents that count in your plan. Going live needs a confirmed account email. You can also switch an automation to live in the app.
Full API Reference
For complete endpoint documentation with an interactive playground, see the API Reference tab.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DocsAutomator","colors":{"primary":"#4f46e5","light":"#818cf8","dark":"#3730a3"},"logo":{"light":"https://mintcdn.com/docsautomator/aWJzng63hl4bgVX9/logo/light.svg?fit=max\u0026auto=format\u0026n=aWJzng63hl4bgVX9\u0026q=85\u0026s=a89d4e949fd24be7b244a51939eccb26","dark":"https://mintcdn.com/docsautomator/aWJzng63hl4bgVX9/logo/dark.svg?fit=max\u0026auto=format\u0026n=aWJzng63hl4bgVX9\u0026q=85\u0026s=155c195e2edcade52d5cbcbe58d64b76"},"favicon":"https://mintcdn.com/docsautomator/aWJzng63hl4bgVX9/favicon.svg?fit=max\u0026auto=format\u0026n=aWJzng63hl4bgVX9\u0026q=85\u0026s=9656fbf52a0ead3b218121003b721847","api":{"playground":{"display":"interactive","proxy":true}},"appearance":{},"background":{"decoration":"gradient"},"navbar":{"primary":{"type":"button","label":"Get Started Free","href":"https://app.docsautomator.co"}},"footer":{"socials":{"x":"https://x.com/docsautomator","youtube":"https://youtube.com/@docsautomator"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://docsautomator.co/pricing"},{"label":"Template Gallery","href":"https://docsautomator.co/templates"},{"label":"Changelog","href":"/docs/changelog"}]},{"header":"Resources","items":[{"label":"Documentation","href":"/docs"},{"label":"API Reference","href":"/docs/api-reference/introduction"},{"label":"Video Tutorials","href":"https://youtube.com/@docsautomator"}]},{"header":"Company","items":[{"label":"Website","href":"https://docsautomator.co"},{"label":"Book a Call","href":"https://cal.com/docsautomator/20min"},{"label":"Contact","href":"mailto:support@docsautomator.co"}]}]},"search":{"prompt":"Search DocsAutomator docs..."},"seo":{"metatags":{"og:image":"https://docsautomator.co/docs/images/og/docs-default.jpg","og:image:alt":"DocsAutomator documentation","twitter:image":"https://docsautomator.co/docs/images/og/docs-default.jpg","og:site_name":"DocsAutomator Documentation","twitter:card":"summary_large_image","twitter:site":"@docsautomator"},"indexing":"all"},"integrations":{"posthog":{"apiKey":"phc_yPsDdVmPczJK4ypcWm1RiPWfri6c2eSTgCiaQP95X3X"}},"banner":{"content":"New: DocsAutomator now works inside HubSpot. [See the setup guide →](https://docsautomator.co/docs/integrations-api/hubspot)","dismissible":true},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"docsautomator","hasAudioNarration":false,"actualSubdomain":"docsautomator","customDomains":["docsautomator.co"],"gitSource":{"type":"github","owner":"docsautomator","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b060fe2747c0ef091342fc8","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"Documentation","count":98},{"language":"default","tag":"Features","count":48},{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Integrations","count":18},{"language":"default","tag":"Resources","count":14},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"Actions After Document Generation","count":10},{"language":"default","tag":"Signing \u0026 Acceptance","count":9},{"language":"default","tag":"Troubleshooting","count":9},{"language":"default","tag":"Documents","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"integrations-api/docsautomator-api","slug":"/integrations-api/docsautomator-api","pageMetadata":{"title":"DocsAutomator API","description":"REST API for programmatic document creation and automation management","icon":"/icons/api.png","keywords":["REST API","document generation API","API integration","createDocument endpoint"],"href":"/integrations-api/docsautomator-api"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"REST API for programmatic document creation and automation management\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`DocsAutomator offers a REST API to create documents programmatically, manage automations, and control e-signature workflows. Use it to add document generation into any software.`}),`\n`,_jsx(Heading,{level:`2`,id:`getting-started`,children:`Getting Started`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create an API key`,children:[_jsxs(_components.p,{children:[`Create a key in `,_jsx(_components.a,{href:`https://app.docsautomator.co/settings/workspace/api`,children:`Settings > API keys`}),`, or click `,_jsx(_components.strong,{children:`Create a key for this`}),` in the automation’s setup guide. Copy it when you create it, because it is shown once. See `,_jsx(_components.a,{href:`/more/finding-your-api-key`,children:`API keys`}),`.`]}),_jsx(Frame,{caption:`The API setup guide sends the key in the Authorization header.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=f4b66ba47eef4347514e73e1da5d6292`,alt:`The API setup guide with the Create a key for this button and the Authorization header Bearer YOUR_API_KEY`,\"data-og-width\":`3200`,width:`3200`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`images/api-keys/setup-api.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?w=280\u0026fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=4b417305e09fef78ea7431a851f07f05 280w, https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?w=560\u0026fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=d0b6eda703908b2530c70b3d614a5b17 560w, https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?w=840\u0026fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=3ff9a7ef705a676b7bd362ec7fba0dc1 840w, https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=b9ae5b8640d92af0c89056aa1b79a2e9 1100w, https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=ec5199cb596301670cb1f971a3b2882a 1650w, https://mintcdn.com/docsautomator/Aq2hrnXrAZ39cS85/images/api-keys/setup-api.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq2hrnXrAZ39cS85\u0026q=85\u0026s=08e84a97375afc9fb89e5c5f13cf705c 2500w`})})]}),_jsxs(Step,{title:`Authenticate`,children:[_jsxs(_components.p,{children:[`Pass your API key as a bearer token in the `,_jsx(_components.code,{children:`Authorization`}),` header:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`]})})})]}),_jsx(Step,{title:`Create a document`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.docsautomator.co/createDocument`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"docId\": \"YOUR_AUTOMATION_ID\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_name\": \"Acme Corp\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"invoice_date\": \"2025-01-15\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"total\": \"$1,500.00\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`formatting-values`,children:`Formatting Values`}),`\n`,_jsxs(_components.p,{children:[`Send values raw (`,_jsx(_components.code,{children:`1234.5`}),`, `,_jsx(_components.code,{children:`2026-06-30`}),`, `,_jsx(_components.code,{children:`true`}),`) and let DocsAutomator render them — open the gear icon next to a placeholder and pick a `,_jsx(_components.strong,{children:`Format`}),`: currency, decimals, percent, date styles, or custom true/false labels. Conditions and calculations keep evaluating the raw value; formatting is display-only. See `,_jsx(_components.a,{href:`/features/advanced-placeholder-options/format-values`,children:`Format Values`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`placeholders-\u0026-descriptions`,children:`Placeholders \u0026 Descriptions`}),`\n`,_jsxs(_components.p,{children:[`List an automation’s placeholders — and the description of each — before you build a `,_jsx(_components.code,{children:`createDocument`}),` payload:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.docsautomator.co/listPlaceholdersV2?automationId=YOUR_AUTOMATION_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"placeholders\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"main\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"client_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"start_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"line_items_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"descriptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"client_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Full legal name of the customer, from the CRM contact record\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Total contract fee in EUR, numeric, no currency symbol\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`descriptions`}),` appears when per-placeholder descriptions are set. They tell an API client (or an AI agent) what data belongs in each placeholder. Set them in the app via the gear icon next to a mapping, or via the API:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.docsautomator.co/updateAutomation?automationId=YOUR_AUTOMATION_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"options\": {\"placeholderDescriptions\": {\"fee\": \"Total contract fee in EUR, numeric\"}}}'`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`options.placeholderDescriptions`}),` replaces the whole map: read the current map first and send it back with your changes. Each description is a string of at most 2,000 characters.`]})}),`\n`,_jsxs(_components.p,{children:[`Automations also carry their own `,_jsx(_components.code,{children:`description`}),` — what the automation is for and what data it needs. `,_jsx(_components.code,{children:`GET /automations`}),` and `,_jsx(_components.code,{children:`GET /automation`}),` return it; set it with `,_jsx(_components.code,{children:`{\"description\": \"...\"}`}),` on `,_jsx(_components.code,{children:`updateAutomation`}),`, or in the app under `,_jsx(_components.strong,{children:`Automation Settings`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`new-automations-start-in-test-mode`,children:`New automations start in test mode`}),`\n`,_jsxs(_components.p,{children:[`Every automation you create with `,_jsx(_components.code,{children:`createAutomation`}),`, and every copy made with `,_jsx(_components.code,{children:`duplicateAutomation`}),`, starts in test mode (`,_jsx(_components.code,{children:`isPreview: true`}),`). Test documents are watermarked and free. In test mode, every email, signing, acceptance and approval request goes to the person testing, never to your recipients. With an API key, that is the team member named in `,_jsx(_components.code,{children:`actingUserEmail`}),` if they belong to the workspace, and otherwise the workspace owner. The `,_jsx(_components.code,{children:`createDocument`}),` response says where it went in `,_jsx(_components.code,{children:`testRecipient`}),`, and lists who a live run would reach in `,_jsx(_components.code,{children:`recipients`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To send every test of an automation to one member instead, set `,_jsx(_components.code,{children:`testRecipient`}),` to that member’s email with `,_jsx(_components.code,{children:`updateAutomation`}),` (`,_jsx(_components.code,{children:`\"\"`}),` goes back to the default). Only workspace members can be picked; any other address is refused with `,_jsx(_components.code,{children:`TEST_RECIPIENT_NOT_MEMBER`}),`. A picked member gets every test of the automation, whoever runs it. `,_jsx(_components.code,{children:`GET /automation`}),` returns the current choice as an object in `,_jsx(_components.code,{children:`testRecipient`}),`: `,_jsx(_components.code,{children:`mode`}),` is `,_jsx(_components.code,{children:`\"member\"`}),` for a picked member and `,_jsx(_components.code,{children:`\"runner\"`}),` for the default, `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`email`}),` name the picked member (or, for the default, the workspace owner), and `,_jsx(_components.code,{children:`fallback`}),` is `,_jsx(_components.code,{children:`true`}),` when the picked member has left the workspace and tests use the default again.`]}),`\n`,_jsx(_components.p,{children:`When the automation is ready, switch it to live:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.docsautomator.co/updateAutomation?automationId=YOUR_AUTOMATION_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"isPreview\": false}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`From then on, `,_jsx(_components.code,{children:`createDocument`}),` makes live documents that count in your plan. Going live needs a confirmed account email. You can also switch an automation to live in the app.`]}),`\n`,_jsx(Heading,{level:`2`,id:`full-api-reference`,children:`Full API Reference`}),`\n`,_jsxs(_components.p,{children:[`For complete endpoint documentation with an interactive playground, see the `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`/api-reference/introduction`,children:`API Reference`})}),` tab.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Documents`,icon:`file-pdf`,href:`/api-reference/introduction`,children:_jsx(_components.p,{children:`Create documents, check job status, view queue stats`})}),_jsx(Card,{title:`Automations`,icon:`gear`,href:`/api-reference/introduction`,children:_jsx(_components.p,{children:`List, create, update, delete, and duplicate automations`})}),_jsx(Card,{title:`Templates`,icon:`file-code`,href:`/api-reference/introduction`,children:_jsx(_components.p,{children:`List placeholders, duplicate templates`})}),_jsx(Card,{title:`E-Signatures`,icon:`signature`,href:`/api-reference/introduction`,children:_jsx(_components.p,{children:`Manage signing sessions, links, and audit trails`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`need-help`,children:`Need Help?`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`In-App Chat`,icon:`comments`,children:_jsx(_components.p,{children:`Contact support via the in-app chat feature`})}),_jsx(Card,{title:`Email Support`,icon:`envelope`,href:`mailto:support@docsautomator.co`,children:_jsxs(_components.p,{children:[`Reach out at `,_jsx(_components.a,{href:`mailto:support@docsautomator.co`,children:`support@docsautomator.co`})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"DocsAutomator API","description":"REST API for programmatic document creation and automation management","icon":"/icons/api.png","keywords":["REST API","document generation API","API integration","createDocument endpoint"],"href":"/integrations-api/docsautomator-api"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Getting Started","slug":"getting-started","depth":2,"children":[]},{"title":"Formatting Values","slug":"formatting-values","depth":2,"children":[]},{"title":"Placeholders \u0026 Descriptions","slug":"placeholders-\u0026-descriptions","depth":2,"children":[]},{"title":"New automations start in test mode","slug":"new-automations-start-in-test-mode","depth":2,"children":[]},{"title":"Full API Reference","slug":"full-api-reference","depth":2,"children":[]},{"title":"Need Help?","slug":"need-help","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"docsautomator","siteName":"DocsAutomator","title":"DocsAutomator API - DocsAutomator","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T15:36:04.929Z","gitLastModified":"2026-11-23T15:35:51.000Z","originalFileLocation":"integrations-api/docsautomator-api.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"REST API for programmatic document creation and automation management\">\u003cmeta data-mint-head name=\"application-name\" content=\"DocsAutomator\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"DocsAutomator API - DocsAutomator\">\u003cmeta data-mint-head property=\"og:description\" content=\"REST API for programmatic document creation and automation management\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DocsAutomator Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docsautomator.co/docs/integrations-api/docsautomator-api\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docsautomator.co/docs/images/og/docs-default.jpg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"DocsAutomator API - DocsAutomator\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"REST API for programmatic document creation and automation management\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docsautomator.co/docs/images/og/docs-default.jpg\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/docsautomator/rNkJLQINO18QuKfc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DocsAutomator\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f46e5\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"DocsAutomator documentation\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docsautomator.co/docs/integrations-api/docsautomator-api\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/integrations-api/docsautomator-api.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docsautomator.co/#organization\",\"name\":\"DocsAutomator\",\"url\":\"https://docsautomator.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/docsautomator/aWJzng63hl4bgVX9/logo/light.svg?fit=max\u0026auto=format\u0026n=aWJzng63hl4bgVX9\u0026q=85\u0026s=a89d4e949fd24be7b244a51939eccb26\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docsautomator.co/docs#website\",\"name\":\"DocsAutomator\",\"url\":\"https://docsautomator.co/docs\",\"publisher\":{\"@id\":\"https://docsautomator.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api#webpage\",\"url\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api\",\"name\":\"DocsAutomator API\",\"description\":\"REST API for programmatic document creation and automation management\",\"dateModified\":\"2026-11-23T15:35:51.000Z\",\"isPartOf\":{\"@id\":\"https://docsautomator.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docsautomator.co/docs/integrations-api/claude\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DocsAutomator API\",\"item\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api#article\",\"headline\":\"DocsAutomator API\",\"name\":\"DocsAutomator API\",\"description\":\"REST API for programmatic document creation and automation management\",\"url\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api\",\"mainEntityOfPage\":{\"@id\":\"https://docsautomator.co/docs/integrations-api/docsautomator-api#webpage\"},\"image\":\"https://docsautomator.co/docs/images/og/docs-default.jpg\",\"dateModified\":\"2026-11-23T15:35:51.000Z\",\"keywords\":\"REST API, document generation API, API integration, createDocument endpoint\",\"publisher\":{\"@id\":\"https://docsautomator.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docsautomator.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DocsAutomator\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DocsAutomator\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/integrations-api/docsautomator-api.md","siteName":"DocsAutomator","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Overview","icon":"house","href":""},{"title":"How It Works","icon":"gears","href":"/docsautomator-basics/how-it-works"},{"title":"Quickstart Guide","icon":"bolt","href":"/docsautomator-basics/quickstart-guide"},{"group":"Templates Overview","icon":"file-lines","pages":[{"title":"Templates Overview","icon":"files","href":"/docsautomator-basics/templates-overview"},{"title":"Google Doc Template Guide","icon":"google","href":"/docsautomator-basics/google-doc-template-guide"},{"title":"PDF Template Guide","icon":"file-pdf","href":"/docsautomator-basics/pdf-template-guide"},{"title":"Word Template Guide","icon":"file-word","href":"/docsautomator-basics/word-template-guide"},{"title":"Spreadsheet Template Guide","icon":"file-spreadsheet","href":"/docsautomator-basics/spreadsheet-template-guide"}]},{"title":"Placeholder Syntax Reference","icon":"code","href":"/docsautomator-basics/placeholder-syntax-reference"}]},{"group":"Integrations","pages":[{"title":"Claude","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/claude.webp","href":"/integrations-api/claude"},{"title":"ChatGPT","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/chatgpt.webp","href":"/integrations-api/chatgpt"},{"title":"Airtable","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/airtable.png","href":"/integrations-api/airtable"},{"title":"Notion","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/notion.png","href":"/integrations-api/notion"},{"title":"Google Sheets","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/google-sheets.png","href":"/integrations-api/google-sheets"},{"title":"Google Forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/google-forms.png","href":"/integrations-api/google-forms"},{"title":"SmartSuite","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/smartsuite.png","href":"/integrations-api/smartsuite"},{"title":"ClickUp","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/clickup.png","href":"/integrations-api/clickup"},{"title":"HubSpot","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/hubspot.svg","href":"/integrations-api/hubspot"},{"title":"Glide","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/glide.png","href":"/integrations-api/glide"},{"title":"Noloco","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/noloco.png","href":"/integrations-api/noloco"},{"title":"Softr","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/softr.png","href":"/integrations-api/softr"},{"title":"Zapier","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/zapier.svg","href":"/integrations-api/zapier"},{"title":"n8n","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/n8n.svg","href":"/integrations-api/n8n"},{"title":"Make","description":"Generate PDF documents from Make (formerly Integromat) scenarios using DocsAutomator","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/make.svg","href":"/integrations-api/make"},{"title":"DocsAutomator API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/api.png","href":"/integrations-api/docsautomator-api"},{"title":"DocsAutomator MCP","description":"Connect DocsAutomator to AI assistants like Claude, ChatGPT, Cursor, and other MCP-compatible clients","icon":"https://mintlify.s3.us-west-1.amazonaws.com/docsautomator/icons/mcp.svg","href":"/integrations-api/docsautomator-mcp"},{"title":"How AI clients use DocsAutomator","icon":"shield-check","href":"/integrations-api/how-ai-clients-use-docsautomator"}]},{"group":"Features","pages":[{"title":"DocsAutomator AI Agent","icon":"sparkles","href":"/features/docsautomator-ai-agent"},{"group":"Signing \u0026 Acceptance","icon":"signature","pages":[{"title":"Signing \u0026 Acceptance","sidebarTitle":"Overview","icon":"signature","href":"/features/docsautomator-esign"},{"title":"Send a document for signature","sidebarTitle":"Send for signature","icon":"paper-plane","href":"/features/docsautomator-esign/send-for-signature"},{"title":"Get a document accepted with one click","sidebarTitle":"Acceptance","icon":"circle-check","href":"/features/docsautomator-esign/acceptance"},{"title":"Compliance \u0026 Legal Validity","icon":"scale-balanced","href":"/features/docsautomator-esign/compliance-and-legal-validity"},{"title":"Is acceptance legally binding?","icon":"gavel","href":"/features/docsautomator-esign/is-acceptance-legally-binding"},{"title":"eSign API Reference","icon":"code","href":"/features/docsautomator-esign/docsautomator-esign-api-reference"},{"title":"Email Delivery Outcomes","icon":"envelope-circle-check","href":"/features/docsautomator-esign/email-delivery-outcomes"},{"title":"E-Signing Tutorials from Data Sources","icon":"book-open-reader","href":"/features/docsautomator-esign/e-signing-tutorials-from-data-sources"},{"title":"E-Sign Date Format Options","icon":"calendar","href":"/features/docsautomator-esign/e-sign-date-format-options"}]},{"title":"Approvals","icon":"stamp","href":"/features/approvals"},{"title":"E-invoices (ZUGFeRD and XRechnung)","icon":"file-invoice","href":"/features/e-invoices"},{"title":"Swiss QR-bill","icon":"qrcode","href":"/features/swiss-qr-bill"},{"group":"Line Items","icon":"list","pages":[{"title":"Line Items","sidebarTitle":"Overview","icon":"list","href":"/features/line-items"},{"title":"Repeating Sections","icon":"repeat","href":"/features/line-items/repeating-sections"},{"title":"Nested Line Items","icon":"layer-group","href":"/features/line-items/nested-line-items"},{"title":"Line Items Grouping + Calculations","icon":"calculator","href":"/features/line-items/line-items-grouping-+-calculations"},{"title":"Auto Row Numbers","icon":"hashtag","href":"/features/line-items/auto-row-numbers"}]},{"group":"Advanced Placeholder Options","icon":"sliders","pages":[{"title":"Advanced Placeholder Options","sidebarTitle":"Overview","icon":"sliders","href":"/features/advanced-placeholder-options"},{"title":"Conditional Paragraph / Row Deletion","icon":"trash","href":"/features/advanced-placeholder-options/conditional-paragraph-row-deletion"},{"title":"Enable Markdown Formatting","icon":"markdown","href":"/features/advanced-placeholder-options/enable-markdown-formatting"},{"title":"Format Values","icon":"coins","href":"/features/advanced-placeholder-options/format-values"},{"title":"Hidden Values","icon":"eye-slash","href":"/features/advanced-placeholder-options/hidden-values"},{"title":"Show Unique Values Only","icon":"layer-group","href":"/features/advanced-placeholder-options/show-unique-values"},{"title":"Conditional Show / Hide","icon":"eye","href":"/features/advanced-placeholder-options/conditional-show-hide"},{"title":"Conditional Styling","icon":"palette","href":"/features/advanced-placeholder-options/conditional-styling"}]},{"group":"Actions After Document Generation","icon":"wand-magic-sparkles","pages":[{"title":"Actions After Document Generation","sidebarTitle":"Overview","icon":"wand-magic-sparkles","href":"/features/actions-after-document-generation"},{"title":"Saving Google Docs","icon":"file-lines","href":"/features/actions-after-document-generation/saving-google-docs"},{"title":"Save Word Document","icon":"file-word","href":"/features/actions-after-document-generation/save-word-document"},{"title":"Save PDF in Google Drive","icon":"hard-drive","href":"/features/actions-after-document-generation/save-pdfs-in-google-drive"},{"title":"Save PDFs in OneDrive","icon":"cloud","href":"/features/actions-after-document-generation/save-pdfs-in-onedrive"},{"title":"Save PDFs in Dropbox","icon":"dropbox","href":"/features/actions-after-document-generation/save-pdfs-in-dropbox"},{"title":"Send Email","icon":"envelope","href":"/features/actions-after-document-generation/send-email"},{"title":"Merge Existing PDFs","icon":"object-group","href":"/features/actions-after-document-generation/merge-existing-pdfs"},{"title":"Notify Webhook","icon":"webhook","href":"/features/actions-after-document-generation/notify-webhook"},{"title":"Start a Claude or ChatGPT Agent","icon":"robot","href":"/features/actions-after-document-generation/start-an-ai-agent"}]},{"title":"Dynamic Images","icon":"image","href":"/features/dynamic-images"},{"title":"Sections","icon":"square-dashed","href":"/features/sections"},{"title":"Document Previews","icon":"eye","href":"/features/document-previews"},{"title":"Documents","icon":"clock-rotate-left","href":"/features/documents"},{"title":"PDF Expiration / Storage","icon":"clock","href":"/features/pdf-expiration-storage"},{"title":"AI Template Generator","icon":"wand-magic-sparkles","href":"/features/ai-template-generator"},{"title":"AI Field Mapping","icon":"brain","href":"/features/ai-field-mapping"},{"title":"Folder Organization","icon":"folder","href":"/features/folder-organization"},{"title":"Error Notifications","icon":"bell-exclamation","href":"/features/error-notifications"},{"title":"Team Management","icon":"users","href":"/features/team-management"},{"title":"Workspaces","icon":"building","href":"/features/workspaces"},{"title":"Transfer Automations","icon":"share","href":"/features/transfer-automations"}]},{"group":"Use Cases","pages":[{"title":"Generate Invoices from Airtable","icon":"file-invoice-dollar","href":"/use-cases/invoices-from-airtable"},{"title":"Bulk Generate Certificates from Google Sheets","icon":"certificate","href":"/use-cases/bulk-certificates-from-google-sheets"},{"title":"Create Contracts with E-Signatures","icon":"file-signature","href":"/use-cases/contracts-with-esign"}]},{"group":"Account \u0026 Billing","pages":[{"title":"Manage or Cancel Your Subscription","icon":"credit-card","href":"/account-billing/manage-cancel-subscription"},{"title":"Overage Documents","icon":"layer-plus","href":"/account-billing/overage-documents"},{"title":"Invoices \u0026 Receipts","icon":"file-invoice","href":"/account-billing/invoices-and-receipts"},{"title":"Nonprofit \u0026 Education Discount","icon":"heart","href":"/account-billing/nonprofit-education-discount"},{"title":"Refund Policy","icon":"rotate-left","href":"/account-billing/refund-policy"},{"title":"Delete Your Account \u0026 Data","icon":"trash","href":"/account-billing/delete-account-and-data"}]},{"group":"Resources","pages":[{"title":"FAQ","icon":"circle-question","href":"/more/faq"},{"title":"DocsAutomator Reviews","icon":"star","href":"/more/docsautomator-reviews"},{"title":"DocsAutomator Unlimited Fair Use Policy","icon":"scale-balanced","href":"/more/docsautomator-unlimited-fair-use-policy"},{"title":"API keys","icon":"key","href":"/more/finding-your-api-key"},{"title":"Responsible Disclosure","icon":"shield-halved","href":"/more/responsible-disclosure"},{"group":"Troubleshooting","icon":"wrench","pages":[{"title":"Troubleshooting Guide","sidebarTitle":"Overview","icon":"wrench","href":"/more/troubleshooting-guide"},{"title":"Airtable: 120 Seconds Limit on Automation Scripts","icon":"clock","href":"/more/troubleshooting-guide/airtable-120-seconds-limit-on-automation-scripts"},{"title":"Airtable: Attachment URL Issue When Sending Emails","icon":"paperclip","href":"/more/troubleshooting-guide/airtable-attachment-url-issue-when-sending-emails"},{"title":"Airtable: No Record ID Given","icon":"database","href":"/more/troubleshooting-guide/data-source-is-set-as-airtable-and-no-record-id-is-given"},{"title":"Google Shared Drive Template Permissions","icon":"folder","href":"/more/troubleshooting-guide/google-shared-drive-template-permissions"},{"title":"Google Sheets: Common Issues","icon":"table","href":"/more/troubleshooting-guide/google-sheets-common-issues"},{"title":"API Error Troubleshooting","icon":"code","href":"/more/troubleshooting-guide/api-error-troubleshooting"},{"title":"Template: Common Mistakes","icon":"file-circle-exclamation","href":"/more/troubleshooting-guide/template-common-mistakes"},{"title":"Email Delivery Issues","icon":"envelope-circle-exclamation","href":"/more/troubleshooting-guide/email-delivery-issues"}]}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"DocsAutomator API - DocsAutomator","deploymentId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","buildId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","dynamics":["10e4515597","07c022d89b","a74be98ba7"],"chunks":["BannerMarkdown-DJ1z2Kbv.js","dist-C_SYQzHz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","Frame-_5hkXGOV.js","DynamicMarkdown-BGCZRsks.js","zoom-image-lightbox-Dbs6ffOg.js","lightbox-handle-r17bVUz3.js"]}