Skip to main content
POST
/
auth
/
login
User login
curl --request POST \
  --url https://jamquest-dev.techboo.net/api/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "email": "[email protected]",
  "phone": "<string>"
}
'
{
  "status": "ok",
  "message": "<string>",
  "data": {
    "user": {
      "id": 123,
      "name": "<string>",
      "email": "[email protected]",
      "phone": "<string>",
      "is_dj": true,
      "wallet_balance": 123,
      "fee_upcoming_artist": 123,
      "fee_popular_song": 123,
      "online": 123,
      "played": 123,
      "city": "<string>",
      "state": "<string>",
      "country": "<string>",
      "latitude": 123,
      "longitude": 123,
      "radius": 123,
      "email_verified": true,
      "phone_verified": true,
      "rating": 123,
      "rating_count": 123
    },
    "token": "<string>"
  }
}

Body

application/json
password
string
required

The user's password.

email
string<email>

The email address of the user. Required if phone is not provided.

phone
string

The phone number of the user. Required if email is not provided.

Response

Login successful

status
string
Example:

"ok"

message
string
data
object