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)Organization
Create API key | Comp AI API
Create a scoped API key for server-side compliance automation such as evidence sync, policy workflows, or security questionnaire tooling.
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
API key for authentication
Response
201
Was this page helpful?

