---
title: "get login token"
method: GET
path: "/rest/login/:user/:password"
tags: ["rest"]
---

# get login token

`GET /rest/login/:user/:password`

get login token

## Response `200`

OK

- RestMessage
  - `code` integer
  - `desc` string
  - `status` string

## Other responses

- `500` — internal error

---

[API](https://skmtc.dev/taosdata/apis/taosadapter.md) · [All operations](https://skmtc.dev/taosdata/apis/taosadapter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taosdata/taosadapter/revisions/c1cd41e789ac/schema)
