curl https://api2.ecomailapp.cz/lists/789/subscriber-by-phone/+420777888999 \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"subscriber": {
"id": 123456,
"list_id": 789,
"email": "foo@bar.cz",
"status": 1,
"subscribed_at": "2023-01-01T00:00:00.000000Z",
"custom_fields": { "ID": "123" },
"source": "API"
}
}
Retrieve a specific subscriber from a list by their phone number.
curl https://api2.ecomailapp.cz/lists/789/subscriber-by-phone/+420777888999 \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"subscriber": {
"id": 123456,
"list_id": 789,
"email": "foo@bar.cz",
"status": 1,
"subscribed_at": "2023-01-01T00:00:00.000000Z",
"custom_fields": { "ID": "123" },
"source": "API"
}
}
curl https://api2.ecomailapp.cz/lists/789/subscriber-by-phone/+420777888999 \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"subscriber": {
"id": 123456,
"list_id": 789,
"email": "foo@bar.cz",
"status": 1,
"subscribed_at": "2023-01-01T00:00:00.000000Z",
"custom_fields": { "ID": "123" },
"source": "API"
}
}