Update Alert Settings
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/settings/alerts \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"rules": {},
"create_tasks": true,
"renewal_lead_days": 123,
"renewal_pipeline_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_renewal_deals": true
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/settings/alerts"
payload = {
"rules": {},
"create_tasks": True,
"renewal_lead_days": 123,
"renewal_pipeline_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_renewal_deals": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
rules: {},
create_tasks: true,
renewal_lead_days: 123,
renewal_pipeline_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
auto_renewal_deals: true
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/settings/alerts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM
Update Alert Settings
Update alert rules and renewal settings; only the fields you send change.
PUT
/
api
/
v1
/
crm
/
settings
/
alerts
Update Alert Settings
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/settings/alerts \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"rules": {},
"create_tasks": true,
"renewal_lead_days": 123,
"renewal_pipeline_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_renewal_deals": true
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/settings/alerts"
payload = {
"rules": {},
"create_tasks": True,
"renewal_lead_days": 123,
"renewal_pipeline_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_renewal_deals": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
rules: {},
create_tasks: true,
renewal_lead_days: 123,
renewal_pipeline_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
auto_renewal_deals: true
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/settings/alerts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));