Create Opt-In Message
POST https://{{et_subdomain}}.rest.marketingcloudapis.com/sms/v1/message/optin
https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/messageOptIn.htm
Creates an SMS opt-in message permitting contacts to subscribe to further SMS messages.
Request Body
{"messageName"=>"API Message Creation", "shortCode"=>"59545", "countryCode"=>"US", "keyword"=>"API_EXAMPLE", "messageOptInType"=>"Double", "doubleOptinInitialMessage"=>"Thanks for subscribing! Please respond with your age to confirm your subscription.", "doubleOptinConfirmationMessage"=>"Thanks for subscribing! You will receive approx. 4 messages per month.", "doubleOptInValidResponses"=>"yes,y,yea,yeah,yep,sure", "duplicateOptInMessage"=>"You already subscribed to receive our messages", "optInErrorMessage"=>"An error occurred. Please try again.", "startDate"=>"7/11/2019", "endDate"=>"1/1/2020"}