Get Started
Authentication

Authentication

Login API

POST

Endpoint:[BaseUrl]/login

Request Body

Request
{
  "email": "nz@gmail.com",
  "password": "*********",
  "api_key": "***********"
}

Response

Response
{
  "message": "Logged in successfully!",
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
  "token_type": "bearer",
  "expires_in": 3600,
  "user": {
    "email": "nz@gmail.com",
    "currency": "BDT",
    "balance": "00.00"
  }
}

Important: Token expires after 3600 seconds (1 hour). Refresh before expiration.