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

# Preview an email designed in blocks for one person

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

The email ({"blocks", "subject", "preheader"?}) filled for a contact ("contact": id, email or x:), for sample values ("data": {"name", "email", "externalId", "attributes"}), or for the sample contact. Strict: a merge tag nothing fills is a 422 whose `problems` name each field and pointer. "imagesBlocked": true answers the HTML as a client that blocks images shows it. Sends nothing. Any member.

## Path Parameters

`orgId`

numberrequired

## Response

200

**cURL**

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

**JavaScript**

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

fetch('https://api.workover.io/workspace/{orgId}/email/preview', 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/preview"

response = requests.post(url)

print(response.text)
```
