Menu

Expand
Rate this page:

phone_verification_started

This event is triggered when a phone verification request is started.

phone_verification is a Phone Verification event, and will be generated for Phone Verification usage.

Event attributes

event The name of the event
objects.app.s_account_sid The Twilio ID of the account
objects.app.s_device_app The authentication application being used by the device; this will be authy, a custom branded customer app name, or an SDK-based app name
objects.app.s_id The ID of the customer app
objects.app.s_type The type of the customer app; either full or trial
objects.phone_verification.i_code_length The length of the phone verification code
objects.phone_verification.s_country_code The country code of the phone number being verified
objects.phone_verification.s_id The ID of the phone verification
objects.phone_verification.s_line_type The type of line of the phone number; possible values are- voip, mobile, landline
objects.phone_verification.s_locale The locale of the phone being verified
objects.phone_verification.s_mccmnc The mobile country code, mobile network code
objects.phone_verification.s_phone_number The phone number being verified
objects.phone_verification.i_seconds_to_expire The number of seconds remaining to expire the request; this is relative to the time that the event was created
objects.phone_verification.s_status The status of the phone verification; possible values are- verified, expired, or pending
objects.phone_verification.s_via The method being used to verify the phone number; possible values are- sms or call
request.id The unique ID of the request
request.ip The IP address where the request originated
time The datetime when the event happened
Rate this page:

Need some help?

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 Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

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

        Thanks for your feedback!

        thanks-feedback-gif