---
title: "Login For Access Token"
method: POST
path: "/auth/token"
tags: ["authentication"]
---

# Login For Access Token

`POST /auth/token`

## Request

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

Login endpoint to get an access token.

## Response `200`

Successful Response

- AppAuthSchemasToken: Token schema.
  - `access_token` string, required
  - `token_type` string, required

## Other responses

- `401`: Not authorized
- `422`: Validation Error

---

[API](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine.md) · [All operations](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/revisions/9dc718df71b0?raw)
