Get requirements settings
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"assignment_mode": "team",
"team_mapping": {},
"categories": [
"<string>"
],
"approval_threshold": "<string>",
"inbox_ids": [
123
]
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}Requirements
Get requirements settings
Which channels may file and answer, how a filed case is assigned, which team each public category reaches, and the account’s repair approval threshold. Admins only.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
requirements_settings
Get requirements settings
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"assignment_mode": "team",
"team_mapping": {},
"categories": [
"<string>"
],
"approval_threshold": "<string>",
"inbox_ids": [
123
]
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}Response
Success