---
title: "Authenticate"
method: POST
path: "/auth"
tags: ["Account"]
---

# Authenticate

`POST /auth`

Exchanges a login + password for a token

## Request body

- ControllersAuthRequestBody
  - `login` string
  - `password` string
  - `refresh_token` string

## Response `200`

OK

- ControllersAuthResponseBody
  - `access_token` string
  - `refresh_token` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/getalby/apis/lndhub-go.md) · [All operations](https://skmtc.net/getalby/apis/lndhub-go/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getalby/lndhub-go/versions/0891f2052750/schema)
