I see that I need to include a method_id in my request to your /otps/authenticate endpoint when a user logs in via an OTP code. What is a method_id?
Hey Alexander – thanks for posting!
By method_id, we mean the email_id or phone_id that you receive in the /otps/.../send or /otps/.../login_or_create response during the first part of the OTP flow. Because our /otps/authenticate endpoint can be used with OTPs delivered via email, SMS, or WhatsApp, method_id is just our way of specifying that either an email_id or a phone_id is valid.