Menu

Expand
Rate this page:

token_invalid

This event is triggered when a submitted TOTP code is invalid.

token_invalid is a TOTP event, and will be generated for OneCode and SoftToken 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.user.s_authy_id The user’s Authy ID
objects.user.as_authy_ids A list of Authy IDs associated with a user; a user may have multiple Authy IDs if they created and then merged multiple accounts
objects.user.b_banned Whether or not the user is banned
objects.user.s_country_code The country code of the user’s phone number
objects.user.s_locale The locale of the user
objects.user.s_phone_number The user’s phone number
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.

        
        
        

        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!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

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