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

# Resync one of the AI agent's sources

POST`/messenger/{messengerId}/sources/{sourceId}/sync`

Read a web page or sitemap source again now. Answers with status `syncing`; read the source again for `ready` or `failed`.

## Path Parameters

`messengerId`

numberrequired

`sourceId`

numberrequired

## Response

200

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/messenger/{messengerId}/sources/{sourceId}/sync'
```

**JavaScript**

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

fetch('https://api.workover.io/messenger/{messengerId}/sources/{sourceId}/sync', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/messenger/{messengerId}/sources/{sourceId}/sync"

response = requests.post(url)

print(response.text)
```
