Get Storage segments statistics

Get your audience statistics like count of email hash by segments. This API is synchronous.

get
Get stats without usage of columns

https://partner-api.sddan.com/api/v1/public/data/job/hash-by-segment-stats/job/:storageId/hash-type/:hashType
Request
Response
Request
Path Parameters
hashType
required
string
hd_m for md5, hd_s256 for sha256
storageId
required
string
Storage ID
Headers
Authentication
required
string
Token
Response
200: OK
{
"123" : {
"segment_id" : 123,
"segment_name": "Segment name",
"segment_description": "Segment description",
"count_hash": 10000,
"data_type": "Interest",
"vertical": "Auto & Vehicles"
}
}

get
Get stats by columns

https://partner-api.sddan.com/api/v1/public/data/job/hash-by-segment-stats/job/:storageId/hash-type/:hashType
Storage must have precise columns in header column-names
Request
Response
Request
Path Parameters
storageId
required
string
Storage ID
hashType
required
string
hd_m for md5, hd_s256 for sha256
Headers
column-names
required
string
columns name separated by comma
Authentification
required
string
Token
Response
200: OK
{
"123-city|Paris" : {
"segment_id" : 123,
"segment_name": "Segment name",
"segment_description": "Segment description",
"count_hash": 423,
"data_type": "Interest",
"vertical": "Auto & Vehicles",
"City": "Paris"
}
}