Scheduled maintenance is currently in progress. We will provide updates as necessary.
Posted Jul 02, 2024 - 10:00 CEST
Scheduled
English version 🇬🇧
From the 2nd of July 2024, the Response Payload of both GET /send and POST /send endpoints will change.
What will change ?
Don’t worry, we’re just adding new fields so you can have more details about the status of your SMS messages. Right now, we’re filtering SMS messages that are either :
- Blacklisted - NPAI - Duplicated - Invalid number - Flood - Country not allowed
We’ve put the `flood` and `not_allowed` inside the `invalid` field in the past. We also plan to offer a new way of filtering undesired SMS that will also be available the 1st of July. But we cannot also put that on the `invalid` counter right ? This is no longer a viable solution. So, long story short, we’re adding 3 new fields on the Response so it will look like this :
{ "status": 1, "message": "OK", "ticket": "14672468", //The id of your campaign "cost": 2, //The cost of your campaign "credits": 642, //Your credits after your campaign has been created "total": 2, //Number of message before filtering "sent": 2, //Number of message after filtering "blacklisted": 0, //Number of blacklisted numbers "duplicated": 0, //Number of duplicated numbers "invalid": 0, //Number of invalid numbers "npai": 0 //Number of npai numbers "flood": 0, //Number of SMS filtered by anti-flood "not_allowed": 0, //Number of SMS sent to a not allowed country "country_limit": 0 //Monthly limit for this country reached }
Instead of this :
{ "status": 1, "message": "OK", "ticket": "14672468", //The id of your campaign "cost": 2, //The cost of your campaign "credits": 642, //Your credits after your campaign has been created "total": 2, //Number of message before filtering "sent": 2, //Number of message after filtering "blacklisted": 0, //Number of blacklisted numbers "duplicated": 0, //Number of duplicated numbers "invalid": 0, //Number of invalid numbers "npai": 0 //Number of npai numbers }