Attempt Clerk phone number verification

Verify an SMS code sent to a Clerk phone number.

← All Clerk endpoints · Capability overview

POST/v1/clerk/phone-numbers/{phone_number_id}/attempt-verification

https://api.vee3.io/v1/clerk/phone-numbers/{phone_number_id}/attempt-verification

5 tokens

Verify an SMS code sent to a Clerk phone number.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

clerk.attempt_phone_number_verification
Parameters4 fields
clerk_instance_idstringOptional

Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.

phone_number_idstringRequired

Clerk phone number id (idn_... or phn_...) to retrieve or modify.

verification_idstringRequired

Verification id from prepare-clerk-phone-number-verification.

codestringRequired

SMS verification code entered by the user.

Response6 fields
verificationobject
5 fields

Verification object with updated status from the Clerk Backend API.

idstring

Verification id returned by prepare_verification.

statusstring

Verification status (verified, unverified, expired, or failed).

strategystring

Verification strategy (e.g. phone_code).

attemptsinteger

Number of verification attempts made.

expire_atinteger

Unix timestamp in milliseconds when the verification code expires.

HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required