---
title: "Login Endpoint"
method: POST
path: "/auth/login"
tags: ["auth"]
---

# Login Endpoint

`POST /auth/login`

## Request

- Base URL: `https://api.noma.co.ke` (the document declares no server; this is the origin it was published from)
- URL: `https://api.noma.co.ke/auth/login`
- Auth: none declared

## Request body

- LoginRequest
  - `phone` string, required
  - `password` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Unauthorized
- `422`: Validation failed.

---

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