Get Organization Policies - Cognigy Documentation
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get Organization Policies
GET /v2.0/organisations/policy
Example cURL Request
curl --request GET \
--url https://api-trial.cognigy.ai/new/v2.0/organisations/policy \
--header 'X-API-Key: <api-key>'
Example Python Request
import requests
url = "https://api-trial.cognigy.ai/new/v2.0/organisations/policy"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)
Example JavaScript Fetch Request
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api-trial.cognigy.ai/new/v2.0/organisations/policy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Response Status Codes
- 200: Successful response
- 400: Bad Request
- 401: Unauthorized
- 403: Forbidden
- 404: Not Found
- 429: Too Many Requests
- 500: Internal Server Error
Response Structure
{
"_id": "<string>",
"businessUnitId": "<string>",
"tenantId": "<string>",
"name": "<string>",
"disabled": true,
"quotaMaxProjects": 123,
"quotaMaxUsers": 123,
"quotaMaxChannelsPerProject": 123,
"quotaMaxMessagesPerDay": 123,
"quotaMaxKnowledgeChunks": 123,
"passwordPolicy": {
"minLength": 123,
"maxLength": 123,
"minAmountLowerCase": 123,
"minAmountUpperCase": 123,
"minAmountSpecialCharacters": 123,
"minAmountNumbers": 123,
"maxAmountIdenticalCharacters": 123,
"minAmountFailedAttemptsAutoDisable": 123
},
"sessionStateTTLInMinutes": 123,
"contactProfileTTLInMinutes": 123,
"conversationTTLInMinutes": 123,
"liveAgentAccount": 123,
"billingTimezone": "Europe/Berlin",
"dataPrivacySettings": {
"enabled": true,
"useAnalytics": true,
"useContactProfiles": true,
"useConversations": true,
"maskAnalytics": true,
"maskLogging": true,
"ignoreList": [
"<string>"
]
},
"aiOpsCenterEnabled": true
}
The content above includes examples of requests and expected responses for fetching organization policies.