Upload
Uploads a file that can later be used to generate an audience.
Types Available: ss_id
, twitter_id
, twitter_user
, md5
, email_raw
, cint_id
, ma_id
, instagram_id
, tiktok_id
, ramp_id
, youtube_id
, tiktok_user
To fetch available upload types for the user please call Upload Types
URL REQUEST (POST)
https://api.statsocial.com/platform/v0/upload
to upload a file you need to send a field of type type
and a field of type file
, as in the example below
note
Data must be sent via a FormData
Example files:
ss_id
twitter_id
twitter_user
md5
email_raw
cint
ma_id
Successful return
return response example
{
"response": {
"key": "/uploads/2023-03-07/10f556c5c8e94604804aa806f0949174.ssid",
"lines": 34728,
"type": "ss_id"
},
"information": {
"version": "0.0.1"
}
}