メニュー

Expand
ページを評価:

End-Users Resource

The v2 Regulatory Compliance APIs are currently in Public Beta. No breaking changes in the API contract will occur when the API moves from Public Beta to GA.

The Twilio End-User REST API allows you to create End-Users to follow Regulations. The End-User is the entity that answers the phone call or receives the message of a phone number. An entity can be either an individual or a business. You can find more information about the possible End-Users by referencing End-User Type resource.

You will Assign Items to an End-User of a Regulatory Bundle with Supporting Documents. For applications that manage many End-Users, you will need to ensure that you assign the End-User instance to the correct Bundle instance to be in compliance with regulations.

End-User Response Properties

The fields of the End-User resource response is in JSON. The type SID <IT> is a unique ID starting with letters IT. For more information about Twilio SIDs, please refer to Twilio's glossary on SIDs.

Resource Properties in REST API format
sid
sid<IT> Not PII

The unique string created by Twilio to identify the End User resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the End User resource.

friendly_name
文字列 Not PII

The string that you assigned to describe the resource.

type
enum:type Not PII

The type of end user of the Bundle resource - can be individual or business.

attributes
オブジェクト PII MTL: 30 DAYS

The set of parameters that are the attributes of the End Users resource which are listed in the End User Types.

date_created
date_time<iso8601> Not PII

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

date_updated
date_time<iso8601> Not PII

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

url
url Not PII

The absolute URL of the End User resource.

Create a new End-User

post
https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers

To provision or port a phone number to Twilio, you will need to create a new End-User of a phone number.

The End-User is the individual or business who answers the phone call or receives the message.

You will need to assign the End-User to a Regulatory Bundle and that Regulatory Bundle assigned to a Phone Number.

パラメーター
Parameters in REST API format
friendly_name
必須
post 文字列 Not PII

The string that you assigned to describe the resource.

type
必須
post ienum:type Not PII

The type of end user of the Bundle resource - can be individual or business.

attributes
オプション
post オブジェクト PII MTL: 30 DAYS

The set of parameters that are the attributes of the End User resource which are derived End User Types.

例 1
        
        
        

        Note: the EndUserType must be either individual or business.

        Fetch an End-User Instance

        GET
        https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers/{Sid}
        パラメーター
        Parameters in REST API format
        sid
        Path
        GET sid<IT> Not PII

        The unique string created by Twilio to identify the End User resource.

        例 1
              
              
              

              List all End-Users

              GET
              https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers
              例 1
                    
                    
                    

                    Update an End-User instance

                    post
                    https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers/{Sid}
                    パラメーター
                    Parameters in REST API format
                    sid
                    Path
                    post sid<IT> Not PII

                    The unique string created by Twilio to identify the End User resource.

                    friendly_name
                    オプション
                    post 文字列 Not PII

                    The string that you assigned to describe the resource.

                    attributes
                    オプション
                    post オブジェクト PII MTL: 30 DAYS

                    The set of parameters that are the attributes of the End User resource which are derived End User Types.

                    例 1
                          
                          
                          

                          Delete an End-User instance

                          削除する
                          https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers/{Sid}
                          パラメーター
                          Parameters in REST API format
                          sid
                          Path
                          削除する sid<IT> Not PII

                          The unique string created by Twilio to identify the End User resource.

                          例 1
                                
                                
                                
                                ページを評価:

                                ヘルプが必要ですか?

                                We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Community Forums or browsing the Twilio tag on Stack Overflow.

                                      
                                      
                                      

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

                                      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