Verify one-time token
Verify a one-time token associated with an email address. If the token is valid and not expired, it will be marked as consumed.
POST
/api/one-time-tokens/verify
curl \
--request POST https://[tenant_id].logto.app/api/one-time-tokens/verify \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"token":"string","email":"string"}'
Request examples
{
"token": "string",
"email": "string"
}
Response examples (200)
{
"tenantId": "string",
"id": "string",
"email": "string",
"token": "string",
"context": {
"jitOrganizationIds": [
"string"
]
},
"status": "active",
"createdAt": 42.0,
"expiresAt": 42.0
}