Skip to main content
Nimbus uses a secure OTP-based authentication system to ensure agency identity.

Step 1: Request an OTP

Initiate the authentication flow by providing an email or phone number.
POST /api/auth/send-otp
{
  "identifier": "agent@travelagency.com",
  "type": "EMAIL"
}

Step 2: Verify the OTP

Once the agent receives the 6-digit code, verify it to receive a session token.
POST /api/auth/verify-otp
{
  "identifier": "agent@travelagency.com",
  "code": "123456"
}

Step 3: Use the Token

Use the returned verification_token or the session cookie for all subsequent API calls.
Authorization: Bearer <your_token>

View Auth API Reference

Explore all authentication endpoints