Update Health Settings
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/settings/health \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"weights": {},
"thresholds": {},
"signal_components": [
{
"key": "<string>",
"weight": 123,
"good": 123,
"bad": 123,
"label": "<string>"
}
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/settings/health"
payload = {
"weights": {},
"thresholds": {},
"signal_components": [
{
"key": "<string>",
"weight": 123,
"good": 123,
"bad": 123,
"label": "<string>"
}
]
}
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({
weights: {},
thresholds: {},
signal_components: [{key: '<string>', weight: 123, good: 123, bad: 123, label: '<string>'}]
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/settings/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM
Update Health Settings
Replace the health score settings; every company is then recomputed in the background.
PUT
/
api
/
v1
/
crm
/
settings
/
health
Update Health Settings
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/settings/health \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"weights": {},
"thresholds": {},
"signal_components": [
{
"key": "<string>",
"weight": 123,
"good": 123,
"bad": 123,
"label": "<string>"
}
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/settings/health"
payload = {
"weights": {},
"thresholds": {},
"signal_components": [
{
"key": "<string>",
"weight": 123,
"good": 123,
"bad": 123,
"label": "<string>"
}
]
}
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({
weights: {},
thresholds: {},
signal_components: [{key: '<string>', weight: 123, good: 123, bad: 123, label: '<string>'}]
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/settings/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));