brevo-php
brevo-php copied to clipboard
Event 'skipped' is not declared in API
Hi,
I have found using this PHP library (version 2.0) the following error, callling the getSmsEvents method that calls the API endpoint /transactionalSMS/statistics/events
Invalid value for 'event', must be one of 'bounces', 'hardBounces', 'softBounces', 'delivered', 'sent', 'accepted', 'unsubscription', 'replies', 'blocked', 'rejected'
I have managed to find the event that is not on that list of possible event types that the library expects. It is 'skipped'. This is the example that i have.
{
"phoneNumber": "11169581298",
"date": "2024-06-19T12:34:52.000-03:00",
"messageId": "22136031729812",
"event": "skipped"
}
Is this a bug or something that wasn't updated yet?
Thanks!