---
title: "Verify passwordless email"
method: POST
path: "/api/v1/passwordless/email/verify"
tags: ["Magic link & OTP"]
---

# Verify passwordless email

`POST /api/v1/passwordless/email/verify`

Verify a user's identity using either a verification code or magic link token

## Request body

- PasswordlessVerifyPasswordLessRequest
  - `auth_request_id` string — The authentication request identifier returned from the send passwordless email endpoint. Required when verifying OTP codes to link the verification with the original request.
  - `code` string — The Verification Code (OTP) received via email. This is typically a 6-digit numeric code that users enter manually to verify their identity.
  - `link_token` string — The unique token from the magic link URL received via email. Extract this token when users click the magic link and are redirected to your application to later verify the user.

## Response `200`

Successfully verified the passwordless authentication. Returns user email

- PasswordlessVerifyPasswordLessResponse
  - `email` string — Email address of the successfully authenticated user. This confirms which email account was verified through the passwordless flow.
  - `passwordless_type` 'OTP' | 'LINK' | 'LINK_OTP'
  - `state` string — The custom state parameter that was provided in the original authentication request, returned unchanged. Use this to restore your application's context after authentication.
  - `template` 'SIGNIN' | 'SIGNUP'

---

[API](https://skmtc.net/scalekit/apis/scalekit-api-reference.md) · [All operations](https://skmtc.net/scalekit/apis/scalekit-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalekit/scalekit-api-reference/versions/a40d5d4650e5/schema)
