Extract the verification code from an email
get_verification_codeExtract a verification or one-time code from an email message to complete signups or logins. Confirms the code before reporting it, so a wrong value is never returned.
Instructions
Pull the verification or one-time code out of a message. Use this after wait_for_email when the user needs a code to complete a signup or login. Requires a paid API key. If no code is found with confidence, that is reported rather than guessed, because a wrong code is worse than none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The inbox address. | |
| message_id | Yes | Message id from wait_for_email or list_messages. |