Get Twilio response?
ProgrammerZ opened this issue · comments
AlexZ commented
How to get Twilio response after the SMS message have been sent?
atymic commented
Use the NotificationSent
event which contains the response :)
https://laravel.com/docs/5.8/notifications#notification-events
AlexZ commented
I have implemented NotificationSent
but forgot to add ->toArray()
with $event->response->toArray()
which got me confused as I was receiving {}
.
Thank you for fast response!
clod986 commented
I still have a test account and keep getting NULL
as the only response... is this normal?