0

I am working on Twilio conversation API and trying to implement a custom solution. Outbound messages are working perfectly. But the problem is I am unable to receive a message. When I send a message to Twilio trial number from my mobile phone, it shows the status as sent, but I don't know what's going on and why I am not receiving that message in my controller as i have already added a global conversatioin webhook for onMessageAdded filter. Here is my route:

support_webhooks_messages_incoming POST /support/webhooks/messages/incoming

Babar Ali
  • 1
  • 1
  • Do you get any errors when your webhook is sent? How are you tunnelling the webhook request to your local application? Are you skipping the CSRF check (`skip_before_filter :verify_authenticity_token`) in your webhook controller? – philnash Mar 22 '22 at 23:47
  • just to notify I got it working after changing my .env file. – Babar Ali Apr 01 '22 at 10:49
  • Oh good news! Can you share what you did wrong I answer so that other people can see what happened? You can accept your own answer then too! – philnash Apr 01 '22 at 22:48
  • I was using the wrong keys. Just changed them and it worked :) – Babar Ali Jan 19 '23 at 08:00

0 Answers0