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

# Get a document's WordPress post

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

The WordPress post a document is linked to, its fields as they stand on the site, and any edits staged here.

## Path Parameters

`docId`

stringrequired

## Query Parameters

`live`

stringrequired

## Response

200

**cURL**

```bash
curl --request GET \
  --url 'https://api.workover.io/project/doc/{docId}/wp?live=%3Clive%3E'
```

**JavaScript**

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

fetch('https://api.workover.io/project/doc/{docId}/wp?live=%3Clive%3E', 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?live=%3Clive%3E"

response = requests.get(url)

print(response.text)
```
