> ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Verify applicant email with code > Validates the verification code sent to an applicant's email address. If the code is valid and not expired, it authenticates the applicant by setting an HTTP-only session cookie and deletes the used verification code. Returns 404 if the applicant is not found or the code is invalid/expired. How can we improve these docs? Share your feedback. ## OpenAPI ````json POST /v1/account_opening/consumer/verification_code/verify/ { "openapi": "3.0.3", "info": { "title": "Narmi Account Opening API", "version": "v1 (main)", "description": "To read about the primary endpoints required for Online Account Opening and recommended usage, go to [Account Opening Usage](https://narmi.stoplight.io/docs/narmi-developer-docs/i365qm2g7lq69-account-opening-usage).", "termsOfService": "https://www.narmi.com/policies/developer-terms-conditions", "contact": { "name": "Narmi Support", "email": "support@narmi.com" } }, "servers": [ { "url": "https://api.sandbox.narmi.dev/", "description": "" } ], "tags": [ { "name": "account opening" }, { "name": "csrf" }, { "name": "products" }, { "name": "session" } ], "x-stoplight": { "id": "j1gfsrho7eeyd" }, "paths": { "/v1/account_opening/consumer/verification_code/verify/": { "post": { "operationId": "account_opening_consumer_verification_code_verify_create", "description": "Validates the verification code sent to an applicant's email address. If the code is valid and not expired, it authenticates the applicant by setting an HTTP-only session cookie and deletes the used verification code. Returns 404 if the applicant is not found or the code is invalid/expired.\n\n\n\nHow can we improve these docs? Share your feedback.", "summary": "Verify applicant email with code", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } } ], "tags": [ "account opening" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicantVerificationCodeVerify" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/ApplicantVerificationCodeVerify" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/ApplicantVerificationCodeVerify" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/ApplicantVerificationCodeVerify" } } }, "required": true }, "security": [ { "oauth2": [ "write" ] } ], "responses": { "200": { "description": "No response body" }, "404": { "description": "No response body" }, "429": { "description": "No response body" } }, "x-stoplight": { "id": "ak8jj8bzxj22z" } } } }, "components": { "schemas": { "ApplicantVerificationCodeVerify": { "type": "object", "properties": { "code": { "type": "string", "writeOnly": true, "maxLength": 64 }, "email": { "type": "string", "writeOnly": true } }, "required": [ "code", "email" ], "x-stoplight": { "id": "khwzvsdwazkse" } } }, "securitySchemes": { "oauth2": { "type": "oauth2", "flows": { "authorizationCode": { "authorizationUrl": "/v2/oauth/authorize/", "tokenUrl": "/v2/oauth/token/", "refreshUrl": "/v2/oauth/token/", "scopes": { "introspection": "Permit introspection on a valid active bearer token.", "openid": "OpenID Connect scope", "offline_access": "Includes long-lived refresh token along with access token", "claudeai": "Authorizes access to Claude AI services.", "read": "View your banking data.", "write": "Update your data", "banking:accounts:read": "Can read account information.", "banking:transactions:read": "Can read transaction information.", "banking:scheduled_transfers:read": "Can read scheduled transfer information.", "banking:scheduled_transfers:write": "Can create and update scheduled transfers.", "banking:accounts:write": "Can update account information.", "banking:transactions:write": "Can update transaction information.", "banking:users:read": "Can read user profile information.", "banking:users:write": "Can update user profile information.", "banking:products:read": "Can read product information.", "banking:documents:read": "Can read user statements and documents.", "banking:documents:write": "Can create and download document archives.", "banking:support_schedules:read": "Can read institution schedule and Federal Reserve holiday information.", "banking:payees:read": "Can read bill pay payee information.", "banking:payees:write": "Can create, update, and delete bill pay payees.", "banking:payments:read": "Can read bill pay payment information.", "banking:payments:write": "Can create and delete bill pay payments.", "banking:deposits:read": "Can read deposit information.", "banking:deposits:write": "Can create and update deposits.", "banking:recipients:read": "Can read recipient information.", "banking:recipients:write": "Can create and update recipients.", "banking:subscriptions:read": "Can read webhook subscription information.", "banking:subscriptions:write": "Can create and update webhook subscriptions.", "banking:transfers:read": "Can read transfer information.", "banking:transfers:write": "Can create transfers.", "banking:wires:read": "Can read wire information.", "banking:wires:write": "Can create wires.", "profile": "Standard claim for extended user information", "email": "User registered email address", "write:preferences": "Read and write user preferences", "read:profile": "Access extended information about the user including address" } } } } } } } ````