メニュー

Expand
ページを評価:

Entity Resource

Verify Push is in Public Beta.

The Entity resource represents a user or other identity that needs verification. A Service contains Entities and an Entity contains Factors.

Entity properties

Do not use Personally Identifiable Information for identity. Use an immutable user identifier like a system UUID, GUID, or SID.
Verify Push uses identity as a unique identifier of a user. You should not use directly identifying information (aka personally identifiable information or PII) like a person's name, home address, email or phone number, etc., as identity because the systems that will process this attribute assume it is not directly identifying information.

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

A 34 character string that uniquely identifies this Entity.

identity
文字列 PII MTL: 30 DAYS

The unique external identifier for the Entity of the Service. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID.

account_sid
sid<AC> Not PII

The unique SID identifier of the Account.

service_sid
sid<VA> Not PII

The unique SID identifier of the Service.

date_created
date_time<iso8601> Not PII

The date that this Entity was created, given in ISO 8601 format.

date_updated
date_time<iso8601> Not PII

The date that this Entity was updated, given in ISO 8601 format.

url
url Not PII

The URL of this resource.

links
uri_map Not PII

Contains a dictionary of URL links to nested resources of this Entity.

Create an Entity resource

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

The unique SID identifier of the Service.

identity
必須
post 文字列 PII MTL: 30 DAYS

The unique external identifier for the Entity of the Service. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID.

例 1
        
        
        
        

        Fetch an Entity resource

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

        The unique SID identifier of the Service.

        identity
        Path
        GET 文字列 PII MTL: 30 DAYS

        The unique external identifier for the Entity of the Service

        例 1
              
              
              
              

              Read multiple Entity resources

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

              The unique SID identifier of the Service.

              例 1
                    
                    
                    
                    

                    Delete an Entity resource

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

                    The unique SID identifier of the Service.

                    identity
                    Path
                    削除する 文字列 PII MTL: 30 DAYS

                    The unique external identifier for the Entity of the Service

                    例 1
                          
                          
                          
                          
                          ページを評価:

                          ヘルプが必要ですか?

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

                                
                                
                                

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

                                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