Update requirements settings
curl --request PATCH \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
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"
payload = {}
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, 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
Update requirements settings
Change the assignment mode, the team of each public category, the repair approval threshold, and which inboxes may file and answer. Omitting inbox_ids leaves the stored channel choice unchanged; sending null means every channel. Admins only.
PATCH
/
api
/
v1
/
accounts
/
{account_id}
/
requirements_settings
Update requirements settings
curl --request PATCH \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/requirements_settings \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
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"
payload = {}
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, 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>"
}
]
}{}{}Body
application/json
Response
Success