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

# Add an API reference from a spec

POST`/sites/project/{projectId}/api-references`

Add a tab, or a group in one, made from an OpenAPI spec at an https URL: a page per endpoint, kept in step with the spec. Answers the first sync's outcome, or 202 while it runs.

## Path Parameters

`projectId`

numberrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/sites/project/{projectId}/api-references'
```

**JavaScript**

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

fetch('https://api.workover.io/sites/project/{projectId}/api-references', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/sites/project/{projectId}/api-references"

response = requests.post(url)

print(response.text)
```
