Retrieve the status and details of a single audience segment you've created.
Endpoint:
GET /v1/audiences/{viantSegmentId}
Request Example:
{
"viantSegmentId": "fpsegm123123123"
}Response (Success):
{
"message": "Audience details retrieved successfully",
"accountId": 2222,
"advertiserIds": 123123,
"dataCount": 1050,
"description": "Description to Described Audience",
"externalAudienceId": "ex123123",
"name": "SegmentName",
"status": "ACTIVE",
"viantSegmentId": "fpsegm123123123",
"ttl": 345600
}Failure Examples:
Unauthorized
{
"error": "Unauthorized - Invalid JWT"
}Not Found
{
"error": "Audience not found"
}Internal Error
{
"error": "Internal server error"
}`