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

# Schedule a publish

POST`/project/doc/{docId}/wp/schedule`

Schedule a document to publish to WordPress at a set time, replacing any earlier schedule.

## Path Parameters

`docId`

stringrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/project/doc/{docId}/wp/schedule'
```

**JavaScript**

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

fetch('https://api.workover.io/project/doc/{docId}/wp/schedule', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/project/doc/{docId}/wp/schedule"

response = requests.post(url)

print(response.text)
```
