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

# Create a journey

POST`/workspace/{orgId}/journeys`

A draft journey: {"name", "trigger": {"type": "segment", "segmentId": 12}, "steps": \[{"type": "wait", "minutes": 60}, {"type": "email", "fromAddressId": 3, "topicKey": "account", "subject": "...", "body": "..."}\], "exit", "goal", "entry"}. Nothing runs until it is published. Owners and admins.

## Path Parameters

`orgId`

numberrequired

## Response

201

**cURL**

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

**JavaScript**

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

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

response = requests.post(url)

print(response.text)
```
