Skip to main content

sms

The sms reply type is used for sending SMS messages to the specified phone number.

Properties

PropertyTypeRequiredDescription
textStringYesMessage content.
destinationStringYesReceiver phone number.
providerConfigurationObjectNoProvider configuration.
caution
SMS messages can only be sent to phone numbers registered in Russia. The phone number specified in the destination property must begin with 7.

Provider configuration

The providerConfiguration allows you to customize the SMS message sender ID. Its value should contain the following properties:

PropertyTypeRequiredDescription
typeStringYesProvider name. Must have the value of I_DIGITAL.
nodeIdStringYesNode ID.
passwordStringYesPassword.
sourceStringNoSMS sender ID.

Syntax

{
"type": "sms",
"text": "Today only, 10% off all our subscription plans!",
"destination": "79123456789",
"providerConfiguration": {
"type": "I_DIGITAL",
"nodeId": "12345",
"password": "Qwerty",
"source": "Just AI"
}
}

Channel restrictions

sms is not supported in the following channels:

  • edna.chatCenter
  • Odnoklassniki
  • Slack