Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).From and To it is the last 30 days up to today.POST /api/SendSMS), placed by the time of the call.groupBy sets the length of each step: day (default), week or month.series has one entry for every step of the period, also when nothing was sent in it; such an entry has an empty channels object.channels the keys are channel names. Channels of v2 campaigns appear under the names SMS, Viber, Whatsapp, Email, Telegram and TwoWaySms. Messages sent with the API-key calls appear separately, as SMS API, Viber API and WhatsApp API.data.Source to Dashboard (v2 campaigns) or API (the API-key calls).curl --location 'https://api.veloconnect.me/api/v2/dashboard/trends?From=2026-09-08T00%3A00%3A00Z&To=2026-10-08T00%3A00%3A00Z&Channels=SMS%2CViber&groupBy=day&Source=All' \
--header 'Authorization: Bearer <token>'{
"groupBy": "day",
"series": [
{
"date": "2026-10-05T00:00:00Z",
"channels": {
"SMS": {
"sent": 1200,
"delivered": 1164,
"failed": 21
},
"SMS API": {
"sent": 3410,
"delivered": 3352,
"failed": 40
}
}
},
{
"date": "2026-10-06T00:00:00Z",
"channels": {}
},
{
"date": "2026-10-07T00:00:00Z",
"channels": {
"Viber": {
"sent": 628,
"delivered": 611,
"failed": 12
}
}
},
{
"date": "2026-10-08T00:00:00Z",
"channels": {
"Viber": {
"sent": 180,
"delivered": 176,
"failed": 0
},
"SMS": {
"sent": 70,
"delivered": 68,
"failed": 0
}
}
}
]
}