Regenerate Insight
Enqueues regeneration of the insights.
Every call to this endpoint consumes an API credit. If the insight process fails, the credit will be refunded to the company automatically.
Getting Started
URL REQUEST (POST)
https://api.statsocial.com/platform/v0/audiences/{audience_id}/insight/regenerate
An optinal callback_url url.
{
"callback_url": "string"
}
Let's go to example
In this example we will search for an audience with affinities
note
We create this audience in this example
https://api.statsocial.com/platform/v0/audiences/67454/insight/regenerate
With This Payload
{
"callback_url": "https://yoursite.com/callback"
}
We will receive a json like this
{
"response": {
"id": 67454,
"status": "running"
},
"information": {
"version": "0.0.1"
}
}