Get all subscribers in a specified group [Rate limited]

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

Response is the array of Single Subscriber objects.

Additional endpoints

Also there is some additional endpoints associated with subscribers in group:

Getting a count of subscibers in a group

Endpoint

GET /groups/:group_id/subscribers/count

Response Example

{ "count": 5 }

Getting subscribers in a group by type

Endpoint

GET /groups/:group_id/subscribers/:type

Possible values of :type:

  • active
  • unsubscribed
  • bounced
  • junk
  • unconfirmed

Response Example

The same structure as it is described above so response is the array of Single Subscriber objects.

Using filters

# get all subscribers who were created in a provided period curl -v http://api.mailerlite.com/api/v2/groups/3640549/subscribers?filters[date_created][$gte]=2017-03-01&filters[date_created][$lt]=2017-04-01 \ -H "X-MailerLite-ApiKey: fc7b8c5b32067bcd47cafb5f475d2fe9" # get all subscribers who were after the selected day curl -v http://api.mailerlite.com/api/v2/groups/3640549/subscribers?filters[date_created][$gte]=2017-03-01 \ -H "X-MailerLite-ApiKey: fc7b8c5b32067bcd47cafb5f475d2fe9"

Available keys:

date_subscribe
date_unsubscribe
date_created
date_updated

Available operators:

$gt - greater than
$gte - greater than or equal
$lt - less than
$lte - less than or equal

Path Params
int32
required
Defaults to null

ID of group

Query Params
string
int32
Defaults to 0
int32
Defaults to 100

Maximum 5000

string

available values: active, unsubscribed, bounced, junk, unconfirmed

Response

Language
Credentials
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json