There are a few ways you can interact with a Subscription of a Mobile Contact for SMS Messaging:
Updating to Opted Out Status
You can update via:
Updating to Opted In Status
You can update via:
It is not currently possible to use an Import Definition to update an opted out subscription to opted-in. You can only opt-in subscribers via Import to a new keyword they have not been subscribed to before.
If a Mobile Import occurs and there is a Status (Mobile Demographics.Status) field with the value of 'Unsubscribe', this Contact will be Opted Out and go into an Inactive status. To change the Status back to Active, the process would be to import the contacts twice. In the 1st step, import the Contact as Unsubscribed (This will update the status as Inactive and Contact will be opted out of the keyword - Mobile Subscription.Opt In/Out Status) and then import them back with the status as Active. This will update the status to Active but the contact will be still opted out.
Importing with a new keyword that a subscriber has not been opted into before will allow them to be set to "Opted-In" for that keyword. To be sent to on a short code, at least 1 keyword needs to be "opted in" to be sent to.
Example
Number 12345678900 texts 'STOP' on 12345 and had subscriptions in 'JOIN' and 'TEST'. They will now be opted out on both keywords. Doing an import to these keywords will not opt them back in to these keywords. If an import happens to 'NEWKEYWORD' on 12345, they will be imported as 'Opted in' to this keyword since they had no previous subscription to this before.
For the REST API, the recommended Route is the QueueMO route, but you can also use the messageContact route as well.
Double Opt-in
Using a Mobile Opt-In message Template, it is possible to select "Double Opt-in" as an option. If a subscriber receives the Double Opt-in confirmation, they will remain in "Opt-In Pending" until they text the opt-in verification keyword. If the conversation window closes, their status will remain in "Opt-in Pending" where they will be treated as opted out for the keyword. The subscribe will need to re-initiate the double opt-in process and respond with the opt-in verification keyword to move to "Opted in" or they will need to be manually updated to "opted in"
000381673

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.