---
title: "Login with Email/Password"
method: POST
path: "/api/v1/mobile/auth/login"
tags: ["Mobile - Authentication"]
---

# Login with Email/Password

`POST /api/v1/mobile/auth/login`

## Request

- Base URL: `https://api.caresquare.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.caresquare.com.au/api/v1/mobile/auth/login`
- Auth: none declared

Authenticate user with email and password. Returns JWT tokens and user info.

## Request body

- LoginRequest: Email/password login request.
  - `email` string, required: User email address
  - `password` string, required: User password

## Response `200`

Successful Response

- LoginResponse: Login response with session data.
  - `access_token` string, required: JWT access token
  - `refresh_token` string, required: JWT refresh token
  - `expires_at` integer, required: Token expiration timestamp
  - `user` UserInfo, required: Basic user information.
    - `id` string, required: User ID
    - `email` string, nullable: User email
    - `phone_number` string, nullable: User phone number

## Other responses

- `400`: Bad request
- `401`: Invalid credentials
- `422`: Validation Error

---

[API](https://skmtc.dev/caresquare/apis/caresquare-api.md) - [All operations](https://skmtc.dev/caresquare/apis/caresquare-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caresquare/apis/caresquare-api/revisions/d428fe38bf62?raw)
