Purpose: Verifies the OTP sent to the user’s email as the second step of the self-registration flow. On successful verification, the user’s account is activated.
⚠️ This endpoint is only applicable for the Self Registration flow. Users who signed up via a Workspace Invitation (with a hash) do not need to complete this step.
POST /idp/api/v1/user/signUp/verifyEmailOtp
No authentication required. This is a public endpoint.
| Header | Required |
|---|---|
| Content-Type: application/json | ✅ Yes |
{
"email": "string",
"otp": "string"
}
| Field | Type | Required | Description |
|---|---|---|---|
| string | ✅ Yes | Must match the email used in the sign-up request | |
| otp | string | ✅ Yes | One-time password sent to the user’s email after sign-up |
Second step of the Self Registration flow.
• OTP Validation — The OTP must match the one dispatched during sign-up.
• Account Activation — On successful verification, the user account is fully activated.
• OTP Expiry — OTP is time-limited. If expired, the user must re-initiate the sign-up.
• Flow Specific — Only applicable for self-registered users. Invitation-based users are activated immediately upon sign-up.
POST /idp/api/v1/user/sign-up.