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

# Preview publishing a journey

POST`/workspace/{orgId}/journeys/{id}/publish/preview`

What publishing would do, without doing it: how many people meet the trigger now and whether they enter ({"atPublish": "new\_only" | "everyone\_now"}), and what still stops it going live. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`id`

numberrequired

## Response

200

**cURL**

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

**JavaScript**

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

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

response = requests.post(url)

print(response.text)
```
