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

# Export Automation Template

> Export full template data for debugging and tooling

## Endpoint

```bash theme={null}
POST https://api.ugc.inc/automations/export
```

## Request Body

<ParamField body="templateId" type="string" required>
  Template ID to export.
</ParamField>

## Response

<ResponseField name="data" type="AutomationExport">
  Full exported template payload.
</ResponseField>

## TypeScript

```typescript theme={null}
const res = await client.automations.exportTemplate({ templateId: 'tpl_123' });
```
