List API key scopes
curl --request GET \
--url https://api.trycomp.ai/v1/organization/api-keys/available-scopes \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/organization/api-keys/available-scopes', 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/available-scopes"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Organization
List API key scopes | Comp AI API
Retrieve available API key scopes and permissions before creating credentials for a specific compliance automation workflow.
GET
/
v1
/
organization
/
api-keys
/
available-scopes
List API key scopes
curl --request GET \
--url https://api.trycomp.ai/v1/organization/api-keys/available-scopes \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/organization/api-keys/available-scopes', 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/available-scopes"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
API key for authentication
Response
200 - undefined
Was this page helpful?

