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

# Login

`POST /v1/auth/login`

Email/password login — proxied to Supabase.

The client sends credentials here instead of talking to Supabase directly.
This keeps the Supabase service key server-side.

## Request body

- LoginRequest
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- LoginResponse
  - `access_token` string, required
  - `refresh_token` string, required
  - `expires_at` integer, nullable
  - `user` object, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/sigmanticai/apis/sigmanticai-gateway.md) · [All operations](https://skmtc.dev/sigmanticai/apis/sigmanticai-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/sigmanticai/apis/sigmanticai-gateway/revisions/15fa2b3394e5?raw)
