メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Messaging Configuration

Phone Verification is a critical part of engaging with customers. You may want to customize that experience to use your existing shortcodes or phone numbers in specific regions.

Messaging Configuration with Verify can be used to extend and customize your phone verification deployment. Using Messaging Configuration you can select Messaging Services to be used by Verify when sending phone verifications over SMS.

Messaging Configuration makes it easy to use existing shortcodes, long codes or alpha sender IDs for phone verifications. With region level configuration you can mix and match existing resources with Verify's managed telephony.

必要なもの:

  1. Messaging Serviceを作成する
  2. Create a Verification Service

Messaging Configuration Properties

Names in REST API format
account_sid
sid<AC> Not PII

The SID of the Account that created the Service resource.

service_sid
sid<VA> Not PII

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

country
文字列 Not PII

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_sid
sid<MG> Not PII

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

date_created
date_time<iso8601> Not PII

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

date_updated
date_time<iso8601> Not PII

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

url
url Not PII

The URL of this resource.

Create a Messaging Configuration

post
https://verify.twilio.com/v2/Services/{ServiceSid}/MessagingConfigurations
パラメーター
Names in REST API format
service_sid
Path
post sid<VA> Not PII

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

country
必須
post 文字列 Not PII

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_sid
必須
post sid<MG> Not PII

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

例 1
        
        
        
        

        Fetch a Messaging Configuration

        GET
        https://verify.twilio.com/v2/Services/{ServiceSid}/MessagingConfigurations/{Country}
        パラメーター
        Names in REST API format
        service_sid
        Path
        GET sid<VA> Not PII

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

        country
        Path
        GET 文字列 Not PII

        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.

        例 1
              
              
              
              

              List all Messaging Configurations

              GET
              https://verify.twilio.com/v2/Services/{ServiceSid}/MessagingConfigurations
              パラメーター
              Names in REST API format
              service_sid
              Path
              GET sid<VA> Not PII

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

              例 1
                    
                    
                    
                    

                    Update a Messaging Configuration

                    post
                    https://verify.twilio.com/v2/Services/{ServiceSid}/MessagingConfigurations/{Country}
                    パラメーター
                    Names in REST API format
                    service_sid
                    Path
                    post sid<VA> Not PII

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

                    country
                    Path
                    post 文字列 Not PII

                    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_sid
                    必須
                    post sid<MG> Not PII

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

                    例 1
                          
                          
                          
                          

                          Delete a Messaging Configuration

                          削除する
                          https://verify.twilio.com/v2/Services/{ServiceSid}/MessagingConfigurations/{Country}
                          パラメーター
                          Names in REST API format
                          service_sid
                          Path
                          削除する sid<VA> Not PII

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

                          country
                          Path
                          削除する 文字列 Not PII

                          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.

                          例 1
                                
                                
                                
                                
                                Rate this page:

                                ヘルプが必要ですか?

                                誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。