> For the complete documentation index, see [llms.txt](https://openapi.logto.io/dev/llms.txt)

# Verify verification code

> POST /api/verifications/verification-code/verify
> 
> Verify the provided verification code against the identifier. If successful, the verification record will be marked as verified.



## Servers
- Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.)


## Authentication methods
- O auth2


## Parameters



### Body: application/json (object)

- **identifier** (object)
  The identifier (email address or phone number) to verify the code against. Must match the identifier used to send the verification code.

- **verificationId** (string)
  The verification ID of the CodeVerification record.

- **code** (string)
  The verification code to be verified.



## Responses
### 200
The verification code has been successfully verified.

#### Body: application/json (object)
- **verificationRecordId** (string)


### 400
The verification code is invalid or the maximum number of attempts has been exceeded. Check the error message for details.

### 401
Unauthorized

### 403
Forbidden

### 501
The connector for sending the verification code is not configured.


[Powered by Bump.sh](https://bump.sh)
