Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

メニュー

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?

AlphaSender Resource

公開ベータ
TwilioのMessaging Service APIは現在パブリックベータ製品として利用可能です。まだ実装されていない機能や、正式版のリリースまでに変更される機能があります。
公開ベータ製品は、Twilioでのサポート対象外となります。

The AlphaSender is a subresource of a Service resource and represents an Alphanumeric Sender ID (alpha sender) you have associated with the Service.

When an alpha sender has been added to the Messaging Service, Copilot will always attempt to prioritize message delivery with your Alpha Sender where possible.

Each Messaging Services may only have one alpha sender associated with it. To change the Alpha Sender ID, you must first delete the current alpha sender before adding the new one.

This subresource is only available to Accounts in which the Alphanumeric Sender ID is enabled.

AlphaSender properties

Names in PHP format
sid
sid<AI> Not PII

The unique string that we created to identify the AlphaSender resource.

accountSid
sid<AC> Not PII

The SID of the Account that created the AlphaSender resource.

serviceSid
sid<MG> Not PII

The SID of the Service the resource is associated with.

dateCreated
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

dateUpdated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

alphaSender
文字列 Not PII

The Alphanumeric Sender ID string.

capabilities
object[] Not PII

An array of values that describe whether the number can receive calls or messages. Can be: SMS.

url
url Not PII

The absolute URL of the AlphaSender resource.

Create an AlphaSender resource

post
https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders
パラメーター
Names in None format
service_sid
必須
post sid<MG> Not PII

The SID of the Service to create the resource under.

alpha_sender
必須
post 文字列 Not PII

The Alphanumeric Sender ID string. Can be up to 11 characters long. Valid characters are A-Z, a-z, 0-9, space, and hyphen -. This value cannot contain only numbers.

例 1
        
        
        
        

        Fetch an AlphaSender resource

        GET
        https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders/{Sid}
        パラメーター
        Names in None format
        service_sid
        必須
        GET sid<MG> Not PII

        The SID of the Service to fetch the resource from.

        sid
        必須
        GET sid_like<AI> Not PII

        The SID of the AlphaSender resource to fetch.

        例 1
              
              
              
              

              Read multiple AlphaSender resources

              GET
              https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders
              パラメーター
              Names in None format
              service_sid
              必須
              GET sid<MG> Not PII

              The SID of the Service to read the resources from.

              例 1
                    
                    
                    
                    

                    Delete an AlphaSender resource

                    削除する
                    https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders/{Sid}

                    Returns "204 NO CONTENT" if the alpha sender was successfully removed from the Service.

                    パラメーター
                    Names in None format
                    service_sid
                    必須
                    削除する sid<MG> Not PII

                    The SID of the Service to delete the resource from.

                    sid
                    必須
                    削除する sid_like<AI> Not PII

                    The SID of the AlphaSender resource to delete.

                    例 1
                          
                          
                          
                          
                          Rate this page:

                          ヘルプが必要ですか?

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