String Identifier (SID)

ページを評価:

A String Identifier (SID) is a unique key that is used to identify specific resources.

String Identifiers at Twilio

Every Twilio resource has a 34 digit SID. You can use the first two characters of the SID to identify its type. Many of our API calls will return a JSON object containing another resource’s SID. Using this SID, you can retrieve more information about the specific resource.

For example, the following code creates an SMS message:

        
        
        
        

        Note how the newly created message has a property named sid. Using this value we can later fetch this specific message.

              
              
              
              

              Using the message SID, which is prefixed with MM, we were able to get more information about that specific resource.

              Common SID Prefixes

              Twilio’s product offering is expansive. Products range from voice and video, messaging, chatbots, payments, Internet of Things connectivity, security all the way to fax. Therefore, you’ll encounter many resources along your journey.

              Here is a quick table of our more common offerings:

              プレフィックス リソースタイプ
              AC アカウント
              CA 発信
              CF Conference
              DE Device (SIM)
              MM Message
              PA Conversation Participant
              QU 待ち行列
              SD SipDomain
              YC Authy Challenge
              ページを評価:

              フィードバックくださりありがとうございます!

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

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              Refer us and get $10 in 3 simple steps!

              ステップ1

              Get link

              Get a free personal referral link here

              ステップ2:

              Give $10

              Your user signs up and upgrade using link

              ステップ3

              Get $10

              1,250 free SMSes
              OR 1,000 free voice mins
              OR 12,000 chats
              OR more