Log In

Overview

Segments are a subset of a mobile app audience that is selected by combining criteria that meet a specific objective.

The Segment Object

NameTypeObligatory?Description
createdAtlongAutogeneratedCreation date (timestamp UTC).
updatedAtlongAutogeneratedLast updated date (timestamp UTC).
segmentIdstringAutogeneratedSegment identifier.
appIdstringAutogeneratedApplication key
config.namestringYesName of the segment.
config.descriptionstringNoDescription of the segment.
config.querystringYesCriteria query.
{
  "createdAt": 1494407258613,
  "updatedAt": 1494407258614,
  "segmentId": "fe9NBA8DRdCIDmmEhy3T2w",
  "appId": "IXa7Bl9oRo6c7zQ5aQIzlg",
  "config": {
    "name": "English Android users",
    "description": "Users with an English Android device",
    "query": "{ \"$all\": [ { \"lang\" : { \"$eq\" : \"es\" } }, { \"os\" : { \"$eq\" : \"Android\" } } ] }"
  }
}