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

# List Templates

> List all templates in your account.

### Request

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.unosend.co/templates \
    -H "Authorization: Bearer un_xxxxxxxxxx"
  ```

  ```javascript JavaScript theme={null}
  await fetch('https://api.unosend.co/templates', {
    headers: { 'Authorization': 'Bearer un_xxxxxxxxxx' }
  });
  ```

  ```python Python theme={null}
  import requests

  requests.get('https://api.unosend.co/templates',
    headers={'Authorization': 'Bearer un_xxxxxxxxxx'}
  )
  ```
</CodeGroup>

### Response

```json 200 theme={null}
{
  "success": true,
  "data": [
    {
      "id": "tpl_abc123",
      "name": "Welcome Email",
      "subject": "Welcome to {{company_name}}, {{first_name}}!",
      "created_at": "2024-01-15T10:30:00.000Z"
    },
    {
      "id": "tpl_def456",
      "name": "Password Reset",
      "subject": "Reset your password",
      "created_at": "2024-01-14T08:00:00.000Z"
    }
  ]
}
```
