USERS

Verify email with OTP after signup

Verify the user's email with the OTP sent during signup.

The system will:
1. Validate the OTP
2. Check OTP expiration
3. Activate the user account
4. Activate trial subscription
5. Return access token
post/internal/api/auth/verify-email

Request

  • Base URL
    https://api.signalshq.io (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

emailstring email required
otpstring required

6-digit OTP received via email

Example request

{
  "email": "user@example.com",
  "otp": "123456"
}

Response

Email verified successfully with access token

access_tokenstring nullable
token_typestring nullable
access_token_expire_in_minutesinteger nullable
messagestring

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "bearer",
  "access_token_expire_in_minutes": 30,
  "user_details": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "email": "user@example.com",
    "name": "John Doe",
    "status": "ACTIVE"
  },
  "message": "Email verified successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.