---
title: "Logs in to an existing account"
method: POST
path: "/auth/authorization"
tags: ["auth"]
---

# Logs in to an existing account

`POST /auth/authorization`

## Request body

- Login
  - `login` string, required — email address
  - `password` string, required

## Response `200`

successful login

- object
  - `status` string
  - `user_id` integer
  - `uid` string — token for future authorized calls
  - `anet_customer_id` string — used internally by Handwrytten
  - `free_cards` integer — number of free cards in account

## Other responses

- `400` — auth error

---

[API](https://skmtc.dev/swaggerhub/apis/handwrytten-api.md) · [All operations](https://skmtc.dev/swaggerhub/apis/handwrytten-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swaggerhub/handwrytten-api/revisions/45e7c951cdd6/schema)
