---
title: "POST /auth/login"
method: POST
path: "/auth/login"
---

# POST /auth/login

`POST /auth/login`

Retrieve a token from a username/password pair.

## Request body

- string

## Response `200`

Login Succeeded

- object
  - `token` string, required — Token to be passed as a query parameter to other API calls.

## Other responses

- `default` — Error

## Changes

- **2018-12-21** `a86118c0fdce` — 1 info
  - endpoint added
- **2016-09-14** `e6801fb33734` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/opendronemap/apis/node-opendronemap/changes/auth/login/post.md)

---

[API](https://skmtc.dev/opendronemap/apis/node-opendronemap.md) · [All operations](https://skmtc.dev/opendronemap/apis/node-opendronemap/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opendronemap/node-opendronemap/revisions/34d580ac326e/schema)
