QuestionQ30

VerifiedScripting and Automation

A developer needs to trigger an SMS message to a subscriber through a form published on CloudPages.

How should the SMS message be triggered after the subscriber submits the form?

Explanation

Use an authenticated REST API call to send the SMS after the form is submitted. The messageContact send endpoint initiates a message to the supplied mobile numbers. In the legacy terminology used by this option, requestToken obtains the access token; enhanced packages use their OAuth 2.0 token flow instead. CreateSmsConversation is restricted to MobileConnect, and inserting a subscriber into a list does not itself send the message. Keep authentication credentials server-side.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!