Skip to main content
POST
/
api
/
authenticate
/
login
user login
curl --request POST \
  --url https://api.example.com/api/authenticate/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "user@easybilling.cloud",
  "password": "12345678"
}
'
{
  "message": "Authentication successful",
  "token": "eyJhbGciOiJSUzI1NiJ9..."
}

Headers

trace-id
string
default:{{$string.uuid}}

Body

application/json
username
string
required
Example:

"admin@company.com"

password
string
required
Example:

"password"

Response

OK

message
string
Example:

"Authentication successful"

token
string
Example:

"eyJhbGciOiJSUzI1NiJ9..."