---
title: "Get access token"
method: POST
path: "/auth/token"
tags: ["Auth"]
---

# Get access token

`POST /auth/token`

Authenticate and get a Bearer access token

## Request body

- object
  - `account` string
  - `device_id` string
  - `grant_type` string
  - `password` string

## Response `200`

OK

- object
  - `access_token` string
  - `expired_in` integer
  - `refresh_token` string
  - `token_type` string

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/lxpio/apis/omnigram-api.md) · [All operations](https://skmtc.net/lxpio/apis/omnigram-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lxpio/omnigram-api/revisions/58911ffb3093/schema)
