> ## Documentation Index
> Fetch the complete documentation index at: https://docsautomator.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DocsAutomator API

> 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

<Steps>
  <Step title="Get your API key">
    Find your API key at [Settings > Workspace > API](https://app.docsautomator.co/settings/workspace/api).
  </Step>

  <Step title="Authenticate">
    Pass your API key as a bearer token in the `Authorization` header:

    ```bash theme={null}
    Authorization: Bearer YOUR_API_KEY
    ```
  </Step>

  <Step title="Create a document">
    ```bash theme={null}
    curl -X POST https://api.docsautomator.co/createDocument \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "docId": "YOUR_AUTOMATION_ID",
        "data": {
          "customer_name": "Acme Corp",
          "invoice_date": "2025-01-15",
          "total": "$1,500.00"
        }
      }'
    ```
  </Step>
</Steps>

## Formatting Values

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](/features/advanced-placeholder-options/format-values).

## Full API Reference

For complete endpoint documentation with an interactive playground, see the **[API Reference](/api-reference/introduction)** tab.

<CardGroup cols={2}>
  <Card title="Documents" icon="file-pdf" href="/api-reference/introduction">
    Create documents, check job status, view queue stats
  </Card>

  <Card title="Automations" icon="gear" href="/api-reference/introduction">
    List, create, update, delete, and duplicate automations
  </Card>

  <Card title="Templates" icon="file-code" href="/api-reference/introduction">
    List placeholders, duplicate templates
  </Card>

  <Card title="E-Signatures" icon="signature" href="/api-reference/introduction">
    Manage signing sessions, links, and audit trails
  </Card>
</CardGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="In-App Chat" icon="comments">
    Contact support via the in-app chat feature
  </Card>

  <Card title="Email Support" icon="envelope" href="mailto:support@docsautomator.co">
    Reach out at [support@docsautomator.co](mailto:support@docsautomator.co)
  </Card>
</CardGroup>
