> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Create an email layout

POST`/workspace/{orgId}/email/layouts`

A new layout: {"name", "html"}, the HTML with {{ content }} exactly once and Liquid that parses. A note uses it as {"version": 1, "layout": {"id": }, "text"?, "blocks": \[{"type": "html", ...}\]}. Owners and admins.

## Path Parameters

`orgId`

numberrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/email/layouts'
```

**JavaScript**

```javascript
const options = {
  method: 'POST'
};

fetch('https://api.workover.io/workspace/{orgId}/email/layouts', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/email/layouts"

response = requests.post(url)

print(response.text)
```
