Skip to main content
POST
/
api
/
v1
/
driver
/
auth
/
sign-in
Sign In
curl --request POST \
  --url https://api.example.com/api/v1/driver/auth/sign-in \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "99999999999",
  "password": "P@ssw0rd!"
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...",
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp..."
}

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json

Sign-in credentials

username
string
required

Email or phone number

Example:

"99999999999"

password
string
required

Password

Minimum string length: 8
Example:

"P@ssw0rd!"

Response

OK

Token pair.

accessToken
string
required

JWT access token.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp..."

refreshToken
string
required

JWT refresh token.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp..."