Skip to main content

Enqueue Export

Enqueues the insight export for generation and returns it's status.

Getting Started

URL REQUEST (POST)
https://api.statsocial.com/platform/v0/audiences/{audience_id}/insight/export

you can choose the baseline that will be exported

Available types: global, global_males, global_females, usa, usa_males, usa_females,UK, Canada, France, Germany, Italy, Spain, or any other insight hash.
If no baseline is specified, it defaults to global.

{
"baseline": "global_females",
}

you can choose between 2 type xlsx and csv

{
"type": "xlsx",
}

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/export

With This Payload

{
"baseline": "global_females",
"type": "xlsx"
}

We will receive a json like this

{
"response": {
"audience_id": 67454,
"export_status": "running",
"export_hash": "0ebc2715f651fc37979c53f809ffb5e4b28929f3"
},
"information": {
"version": "0.0.1"
}
}