Update Fact
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/facts/{fact_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"status": "<string>",
"text": "<string>",
"kind": "<string>",
"contact_id": "<string>"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/facts/{fact_id}"
payload = {
"status": "<string>",
"text": "<string>",
"kind": "<string>",
"contact_id": "<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({status: '<string>', text: '<string>', kind: '<string>', contact_id: '<string>'})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/facts/{fact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM
Update Fact
Confirm or reject a suggested fact, or edit it.
PUT
/
api
/
v1
/
crm
/
facts
/
{fact_id}
Update Fact
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/facts/{fact_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"status": "<string>",
"text": "<string>",
"kind": "<string>",
"contact_id": "<string>"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/facts/{fact_id}"
payload = {
"status": "<string>",
"text": "<string>",
"kind": "<string>",
"contact_id": "<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({status: '<string>', text: '<string>', kind: '<string>', contact_id: '<string>'})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/facts/{fact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));