Authentication

Base: /api/v1/auth

POST/signup/driver

Register a new driver account

POST/signup/shipper

Register a new shipper account

POST/signup/carrier

Register a new carrier/fleet account

POST/login

Authenticate and receive JWT tokens

POST/refresh

Refresh access token using refresh token

POST/forgot-password

Request password reset email

POST/reset-password

Reset password with token

POST/logout

Invalidate refresh token

AUTH
GET/me

Get current user profile

AUTH
PUT/profile

Update user profile

AUTH
POST/change-password

Change password (requires current)

AUTH
POST/verify-fmcsa

Retry FMCSA DOT/MC verification

AUTH
POST/verify-email

Verify email with token

AUTH
POST/totp/setup

Generate TOTP secret + QR code

AUTH
POST/totp/enable

Enable 2FA with first TOTP code

AUTH
POST/totp/verify

Verify TOTP during login

POST/totp/disable

Disable 2FA

AUTH