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

# Get a document's WordPress publish

GET`/project/doc/{docId}/wp/write`

The publish or push running for a document, or the last one to finish.

## Path Parameters

`docId`

stringrequired

## Response

200

**cURL**

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

**JavaScript**

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

fetch('https://api.workover.io/project/doc/{docId}/wp/write', 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/write"

response = requests.get(url)

print(response.text)
```
