curl https://api2.ecomailapp.cz/lists/75/subscribers?page=1&per_page=20 \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"current_page": 1,
"data": [
{
"list_id": 75,
"email": "some1@contact.com",
"status": 1,
"subscribed_at": "2024-05-10T12:29:07.000000Z",
"unsubscribed_at": null,
"custom_fields": [],
"groups": null,
"source": "app",
"subscriber": {
"id": 1158595,
"name": "Foo",
"surname": "Bar",
"email": "some1@contact.com",
"gender": "male",
"company": null,
"city": "City",
"country": "CZ",
"phone": null
}
}
],
"per_page": 20,
"total": 2
}
Retrieve a paginated list of subscribers from a specific list.
curl https://api2.ecomailapp.cz/lists/75/subscribers?page=1&per_page=20 \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"current_page": 1,
"data": [
{
"list_id": 75,
"email": "some1@contact.com",
"status": 1,
"subscribed_at": "2024-05-10T12:29:07.000000Z",
"unsubscribed_at": null,
"custom_fields": [],
"groups": null,
"source": "app",
"subscriber": {
"id": 1158595,
"name": "Foo",
"surname": "Bar",
"email": "some1@contact.com",
"gender": "male",
"company": null,
"city": "City",
"country": "CZ",
"phone": null
}
}
],
"per_page": 20,
"total": 2
}
unsubscribed, not_confirmed, bounced, complained.1 = subscribed, 2 = unsubscribed, 4 = hard bounce, 5 = spam complaint, 6 = unconfirmed.curl https://api2.ecomailapp.cz/lists/75/subscribers?page=1&per_page=20 \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"current_page": 1,
"data": [
{
"list_id": 75,
"email": "some1@contact.com",
"status": 1,
"subscribed_at": "2024-05-10T12:29:07.000000Z",
"unsubscribed_at": null,
"custom_fields": [],
"groups": null,
"source": "app",
"subscriber": {
"id": 1158595,
"name": "Foo",
"surname": "Bar",
"email": "some1@contact.com",
"gender": "male",
"company": null,
"city": "City",
"country": "CZ",
"phone": null
}
}
],
"per_page": 20,
"total": 2
}