SetuBot
/

to search

Introducing Setu API playground Check it out ↗

#Notifications

Notifications are webhooks from Setu that provide the data you requested.

The base_url is the server URL configured to receive notifications, which is the Notification endpoint you shared during template creation step.


#Insights generated notification

This notification is used to communicate the generated insights which was requested by you in Create Insight Report API.

Notification payload

Setu will post this payload to your notification endpoint when Insights report is successfully generated.

{
"type": "INSIGHT_STATUS_UPDATE",
"timestamp": 2018-12-06T11:39:57.153Z,
"jobId": "d4f40bd9-a22f-4408-a622-4e8a1e4fbda6",
"success": true,
"data": {
"status": "READY",
"insights": {
// ... insight_name : insight_value
}
},
"error": {}
}

Was this page helpful?