---
schema_version: "1"
id: 522778518f77e3e546c639110dbf530859b15de8d09e850546dc979e31d213e9
title: DoubleOptInMOKeyword
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/doubleoptinmokeyword.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/doubleoptinmokeyword.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b6c1d35fd00008f1cfe70be4857d46b3d075c999ac0e361deece0728b8a4fc05
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# DoubleOptInMOKeyword

Defines a mobile-originated (MO) keyword, which mobile users can use to subscribe to SMS messages by completing a double opt-in workflow.

## Properties

| Name                        | Data Type                                      | Description                                                                                                                               |
| --------------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `Client`                    | [ClientID](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) object                 | Specifies the account ownership and context of an object.                                                                                 |
| `CorrelationID`             | String                                         | Identifies correlation of objects across several requests.                                                                                |
| `CreatedDate`               | DateTime                                       | The date and time when the object was created.                                                                                            |
| `CustomerKey`               | String                                         | User-supplied unique identifier for an object within an object type. This property corresponds to the external key assigned to an object. |
| `DefaultPublication`        | [List](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/list.md) object                         | Specifies the default publication list to which to add a subscriber.                                                                      |
| `ID`                        | Int                                            | Read-only identifier for an object. Some objects use the ObjectID property as a unique ID.                                                |
| `InvalidPublicationMessage` | String                                         | Specifies message to send in case a subscriber requests subscription to or unsubscription from an invalid publication list.               |
| `InvalidResponseMessage`    | String                                         | Specifies message to send in case a subscriber sends in an invalid response.                                                              |
| `IsDefaultKeyword`          | Boolean                                        | Specifies if account defaults to this SMS keyword action if no other options are available.                                               |
| `MissingPublicationMessage` | String                                         | Not used.                                                                                                                                 |
| `ModifiedDate`              | DateTime                                       | The date and time when the object was last modified.                                                                                      |
| `NeedPublicationMessage`    | String                                         | Specifies message to send in case a subscriber sends in an response that doesn't specify a publication list.                              |
| `ObjectID`                  | String                                         | System-controlled, read-only text string identifier for object.                                                                           |
| `ObjectState`               | String                                         | Not used.                                                                                                                                 |
| `Owner`                     | [Owner](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/owner.md) object                       | Describes account ownership of subscriber in an on-your-behalf account.                                                                   |
| `PartnerKey`                | String                                         | Unique identifier provided by partner for an object. This property is accessible only via API.                                            |
| `PartnerProperties`         | Array of [APIProperty](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiproperty.md) objects | A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.                   |
| `PromptMessage`             | String                                         | Contains message sent to subscriber to prompt response as part of the double opt-in process.                                              |
| `SuccessMessage`            | String                                         | Defines SMS message to send if triggered email send succeeds.                                                                             |
| `UnexpectedErrorMessage`    | String                                         | Contains message to send to subscriber in case of unexpected error.                                                                       |
| `ValidPublications`         | Array of [List](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/list.md) objects               | Defines valid publication lists for use with a double opt-in event.                                                                       |
| `ValidResponses`            | Array of strings                               | Defines valid responses a subscriber can use as part of a double opt-in process.                                                          |

## Related Items

- [Supported Operations for Objects and Methods](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/supported_operations_for_objects_and_methods.md)
