VerifyV2MessagingConfiguration

Create a new MessagingConfiguration for a service.

Changed on

Create a new MessagingConfiguration for a service.

post/v2/Services/{ServiceSid}/MessagingConfigurations

Request

  • Base URL
    https://verify.twilio.com
  • URL
    https://verify.twilio.com/v2/Services/{ServiceSid}/MessagingConfigurations
  • Auth
    HTTP basic

Path parameters

ServiceSidstring required

The SID of the Service that the resource is associated with.

Request body application/x-www-form-urlencoded

Countrystring required

The ISO-3166-1 country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value all.

MessagingServiceSidstring required

The SID of the Messaging Service to be used to send SMS to the country of this configuration.

Response

Created

account_sidstring nullable

The SID of the Account that created the Service resource.

service_sidstring nullable

The SID of the Service that the resource is associated with.

countrystring nullable

The ISO-3166-1 country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value all.

messaging_service_sidstring nullable

The SID of the Messaging Service to be used to send SMS to the country of this configuration.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in RFC 2822 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in RFC 2822 format.

urlstring uri nullable

The URL of this resource.

Changes