# Email templates

The `/email/templates` endpoint allows you to manage email templates that can be used for sending emails. You can create, update, delete, and list email templates.

## **Fetch all templates**

`GET /email/templates`

Fetch all email templates.

### **Response**


:::success
**Success**

:::

**200**

```javascript
{
  ok: true,
  data: {
    templates: EmailTemplate[];
  }
}
```


:::warning
**Error**

:::

**400**

```javascript
{
  ok: false;
  error: string;
}
```