Skip to main content

Get Audience File Download

Returns the audience download information for given type.

Allowed ID-type for data: ss_id, md5, cint_id, email_raw, twitter_id, twitter_user, twitter_search, ma_id. The output of each ID-type is an account-level permission that will need to be turned on by StatSocial.

Every call to this endpoint consumes an API credit. If the process fails, the credit will be refunded to the company automatically. If user already downloaded given type for the audience, the credit will be refunded to the company automatically.

Getting Started

URL REQUEST (GET)
https://api.statsocial.com/platform/v0/audiences/{audience_id}/download/{type}

Let's go to example

note

We create this audience in this example

https://api.statsocial.com/platform/v0/audiences/67454download/ss_id

We will receive a json like this

{
"response": {
"count": 55,
"download_url": "https://download-link-for-ss-id-audience-file",
"key": "/2024/1/31/c006f4793f.ssid"
},
"information": {
"version": "0.0.5"
}
}