List all segments

Returns a list of segments. The segments are returned sorted by creation date in ascending order.

GET/v3/segments
JWT
segment:read

Parameters

NameTypeInDescription
pageintegerqueryThe page number.
limitintegerqueryThe number of records per page. Must be a number between 1 and 100.
sortstringqueryThe sort string to sort the returned records e.g. "-createdAt"
resourcestringqueryName of the resource.
searchstringquerySearch string.
idobjectqueryID of the resource.
createdAtobjectqueryDate of creation
updatedAtobjectqueryDate of last update

Responses

200 OK
[
  {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "resource": "string",
    "filters": [
      {
        "property": "string",
        "operator": "string",
        "value": "string"
      }
    ]
  }
]