> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# smsMarketingSettings

> The store's SMS marketing settings, as the Redo app's SMS marketing settings page shows them. Reading never changes anything.

**Required scopes:** [`marketing_settings_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_settings_read)

**Store must have one of:** `EMAIL_SMS`

## Returns

**smsMarketingSettings** `[SmsMarketingSettings!](/docs/api-reference/v3/reference/marketing/sms-marketing-settings)` *required*

The settings on the Redo app's SMS marketing settings page: how marketing texts are signed and linked, who they leave out, the external provider Recover checks, and which number texts each country.

**fields**

**countryPhoneNumbers** `[\[SmsMarketingCountryPhoneNumber!\]!](/docs/api-reference/v3/reference/marketing/sms-marketing-country-phone-number)` *required*

The number that texts each country. A country left out uses the store's oldest verified marketing number.

**fields**

**country** `[CountryCode!](/docs/api-reference/v3/reference/common/country-code)` *required*

The customers' country.

**phoneNumber** `String!` *required*

The number, in E.164 format.

**excludeTexasSegment** `Boolean!` *required*

Whether Texas recipients are left out of SMS campaigns and automations.

**externalProvider** `[SmsMarketingProviderSetting](/docs/api-reference/v3/reference/marketing/sms-marketing-provider-setting)`

The provider Redo checks for SMS subscriptions before sending Recover texts, with whether it is connected. Null when none is chosen.

**fields**

**connectionStatus** `[SmsMarketingProviderConnectionStatus!](/docs/api-reference/v3/reference/marketing/sms-marketing-provider-connection-status)` *required*

Whether Recover can use the provider.

**provider** `[SmsMarketingProvider!](/docs/api-reference/v3/reference/marketing/sms-marketing-provider)` *required*

The provider.

**linkShortenerOmitProtocol** `Boolean!` *required*

Whether shortened links leave out `https://`, which saves 8 characters per link.

**linkShortenerSubdomain** `String`

The subdomain of shortened links: `mystore` makes `mystore.redo.link`. Null when unset.

**phoneNumbers** `[\[SmsMarketingPhoneNumber!\]!](/docs/api-reference/v3/reference/marketing/sms-marketing-phone-number)` *required*

The store's marketing numbers, the ones `countryPhoneNumbers` can use.

**fields**

**originatingCountry** `[CountryCode](/docs/api-reference/v3/reference/common/country-code)`

The country the number belongs to. Null when Redo stores a value that isn't a country code.

**phoneNumber** `String!` *required*

The number, in E.164 format.

**smsStoreName** `String`

The store name at the start of every marketing text. Null when unset, and texts then use the store's name.

## Example

```graphql theme={null}
query {
  smsMarketingSettings {
    excludeTexasSegment
    linkShortenerOmitProtocol
    linkShortenerSubdomain
    smsStoreName
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.