Skip to main content
POST
/
v1
/
organization
/
api-keys
Create API key
curl --request POST \
  --url https://api.trycomp.ai/v1/organization/api-keys \
  --header 'X-API-Key: <api-key>'
const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};

fetch('https://api.trycomp.ai/v1/organization/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.trycomp.ai/v1/organization/api-keys"

headers = {"X-API-Key": "<api-key>"}

response = requests.post(url, headers=headers)

print(response.text)

Authorizations

X-API-Key
string
header
required

API key for authentication

Response

201 - undefined