Skip to main content

Carrier Login

POST 

/truckers/auth/login

Authenticate a carrier in the system. Verify the credentials and return a JWT if they are valid.

Flow:

  1. Validate email and password
  2. Verify the account is active
  3. Record the access in the history log
  4. Generate a JWT token with user data

Common errors:

  • WRONG_CREDENTIALS: Incorrect credentials (400)
  • USER_NOT_ACTIVE: Account suspended or not activated (401)

Request

Responses

Authentication successful

Response Headers