---
title: "Login"
method: POST
path: "/auth/token/"
tags: ["Authentication"]
---

# Login

`POST /auth/token/`

## Request

- Base URL: `https://api.wokelo.ai`
- URL: `https://api.wokelo.ai/auth/token/`
- Auth: none required

Obtain a JSON Web Token (JWT) for subsequent API authentication.
Submit credentials as `multipart/form-data`. The returned `access_token`
must be included as `Authorization: Bearer <token>` in all subsequent requests.

## Response `200`

Authentication successful

- object
  - `access_token` string: JWT for authenticated API access
  - `expires_in` integer: Token validity duration in seconds
  - `token_type` string
  - `scope` string
  - `refresh_token` string

## Other responses

- `400`: Invalid credentials or missing parameters

---

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