Get a list of segment subscribers
Request
POST /pub/v1/marketing/segment/{id}/subscribers
Path parameters
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| id | uuid | Segment ID |
Required |
Request body
The resource sent in the request body is Get a list of segment subscribers — Request. It contains the following writable properties:
{
"filter": {
"<key>": {}
},
"from": "uint32",
"size": "uint32"
}
Properties
| Name | Type | Description | Additional |
|---|---|---|---|
| filter | object |
Filter |
Optional |
| filter.<key> | map of object | Optional | |
| from | uint32 |
Return starting from item |
Optional |
| size | uint32 |
Number of returned items (10000 max) |
Optional |
Authorization
This request requires the use of one of following authorisation methods:
API key
Response
The following HTTP status codes may be returned:
| Status code | Description | Resource |
|---|---|---|
| 200 | OK Model of a list of segment subscribers |
Model of a list of segment subscribers (Get a list of segment subscribers) |
| 400 | Bad Request Error while checking incoming data or implementing the method |
|
| 412 | Precondition Failed No CRM license |