brevo-php icon indicating copy to clipboard operation
brevo-php copied to clipboard

Event 'skipped' is not declared in API

Open gonzad26 opened this issue 1 year ago • 0 comments

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!

gonzad26 avatar Jun 20 '24 03:06 gonzad26