Trigger Sync
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/sync \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/sync"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Smart Sources
Trigger Sync
Trigger a manual sync. Runs asynchronously via Celery.
POST
/
api
/
v1
/
smart-sources
/
{smart_source_id}
/
sync
Trigger Sync
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/sync \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/sync"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/smart-sources/{smart_source_id}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));