submit_verification_code
Submit an OTP or challenge code for a pending email or domain verification where the code was delivered out-of-band. Completes the check; use trigger_verification for other channels.
Instructions
Submit an OTP/challenge code for a pending verification. Accepted ONLY where we delivered the code out-of-band to the party being verified: type "email", and type "domain" with channel "email". Any other pair answers 400 unsupported_for_type and completes elsewhere — use trigger_verification (POST /verifications/:id/verify) for a domain over dns/http/auto; a phone completes when the code reaches us FROM that number; social completes through its OAuth callback; a telegram_bot is already verified at creation.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Verification ID | |
| code | Yes | The OTP or challenge code to submit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | MongoDB ObjectId | |
| proof | No | Present when the code was right | |
| status | Yes | Current status of the verification | |
| message | No | Present when the code was wrong (`pending`) or the attempts are used up (`failed`) | |
| attempts | Yes | Codes submitted so far, this one included | |
| verified_at | No | Present when the code was right | |
| max_attempts | Yes | ||
| attempts_remaining | No | Present while `pending` |