dcotter
dcotter

Reputation: 332

Twilio Advanced Opt-in not sending

I'm building a text service with Twilio and configured and enabled the Advanced Opt-out / Opt-in settings in my messaging service.

When testing the opt-in with my custom keyword I get this back instead my custom message

Thanks for the message. Configure your number's SMS URL to change this message. Reply HELP for help . Reply STOP to unsubscribe. Msg&Data rates may apply.

The screenshot shows my custom keyword and message. I'm using a toll-free number.enter image description here

Any ideas as to why its not automatically sending the custom opt-in message?

Upvotes: 0

Views: 807

Answers (1)

philnash
philnash

Reputation: 73100

When you receive opt-in messages to your number the webhook request is still sent to the URL you configure for your number. It looks like you haven't configured that URL for your number yet, as that is the default response for a new number.

Head to the Twilio console to configure your number and update the URL for when a message comes in. You can set it to your own application's URL if you have built that out yet, or if you are still working on that you could use a TwiMLBin with an empty <Response> which doesn't respond if you don't have an application yet.

Upvotes: 1

Related Questions