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

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.

refreshToken
string
required

JWT refresh token.