Verify verification code
Verify the provided verification code against the identifier. If successful, the verification record will be marked as verified.
POST
/api/verifications/verification-code/verify
curl \
--request POST 'https://[tenant_id].logto.app/api/verifications/verification-code/verify' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"identifier":{"type":"email","value":"string"},"verificationId":"string","code":"string"}'
Request examples
{
"identifier": {
"type": "email",
"value": "string"
},
"verificationId": "string",
"code": "string"
}
Response examples (200)
{
"verificationRecordId": "string"
}