Install our app 🪄 click on the icon in the top right of the address bar.

Contacts statistics

GET https://sms.excellencemarketing.online/api/contacts-statistics/
Parameters Details Description
start_date Required Start date in Y-m-d format.
end_date Required End date in Y-m-d format.
type Optional String Allowed values: overview, continent_code, country_code, has_opted_out
curl --request GET \
--url 'https://sms.excellencemarketing.online/api/contacts-statistics?start_date=2025-12&end_date=2026-02-03' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": [
        {
            "contacts": 20,
            "formatted_date": "2025-12"
        },
        {
            "contacts": 35,
            "formatted_date": "2026-01"
        },
        {
            "contacts": 50,
            "formatted_date": "2026-02"
        }
    ]
}