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

# Create an API key

POST`/workspace/{orgId}/api-keys`

A new server API key (wsk\_...) for /v1/contacts. The secret is in this answer and nowhere else: store it at once. Owners and admins.

## Path Parameters

`orgId`

numberrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/api-keys'
```

**JavaScript**

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

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

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/api-keys"

response = requests.post(url)

print(response.text)
```
