Skip to main content
GET
https://api2.ecomailapp.cz
/
lists
/
{list_id}
/
subscriber
/
{email}
curl https://api2.ecomailapp.cz/lists/42/subscriber/john.doe@example.com \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "subscriber": {
    "id": 12345,
    "name": "John",
    "surname": "Doe",
    "email": "john.doe@example.com",
    "company": "Acme Corporation",
    "city": "New York",
    "country": "US",
    "phone": "+1 (555) 123-4567",
    "gender": "male",
    "tags": ["tag1", "tag2"],
    "rating": 4.5,
    "list_id": 42,
    "status": 1,
    "subscribed_at": "2022-01-01T12:00:00.000000Z",
    "custom_fields": { "field1": "Value 1" },
    "groups": { "grp_60ddec46df422": ["a", "b"] }
  }
}
list_id
integer
required
ID of the list.
email
string
required
Email of the subscriber.
Status values in the response: 1 = subscribed, 2 = unsubscribed, 4 = hard bounce, 5 = spam complaint, 6 = unconfirmed.
curl https://api2.ecomailapp.cz/lists/42/subscriber/john.doe@example.com \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "subscriber": {
    "id": 12345,
    "name": "John",
    "surname": "Doe",
    "email": "john.doe@example.com",
    "company": "Acme Corporation",
    "city": "New York",
    "country": "US",
    "phone": "+1 (555) 123-4567",
    "gender": "male",
    "tags": ["tag1", "tag2"],
    "rating": 4.5,
    "list_id": 42,
    "status": 1,
    "subscribed_at": "2022-01-01T12:00:00.000000Z",
    "custom_fields": { "field1": "Value 1" },
    "groups": { "grp_60ddec46df422": ["a", "b"] }
  }
}