Verify one-time token
Verify the provided one-time token against the user's email. If successful, the verification record will be marked as verified.
Body
Required
-
identifier
object Required The unique user identifier.
Currently, onlyemail
is accepted. -
token
string Required The one-time token to be verified.
Minimum length is
1
.
POST
/api/experience/verification/one-time-token/verify
curl \
--request POST 'https://[tenant_id].logto.app/api/experience/verification/one-time-token/verify' \
--header "Content-Type: application/json" \
--data '{"identifier":{"type":"string","value":"string"},"token":"string"}'
Request examples
{
"identifier": {
"type": "string",
"value": "string"
},
"token": "string"
}
Response examples (200)
{
"verificationId": "string"
}