---
title: "Login"
method: POST
path: "/v2/public/security/login/mfa"
tags: ["Public - Security - Security"]
---

# Login

`POST /v2/public/security/login/mfa`

Checks if user has MFA Enabled - if he does sends the OTP email related, else he login will give your tokens

## Request body

- OtpLoginRequest
  - `login` string, email, required — The email
  - `password` string, password, required — Your password
  - `otp` string — The One Time Password BeezUP sent by e-mail after trying to login

## Response `200`

Your tokens

- BeezUPCommonApiCredentials
  - `credentials` BeezUPCommonApiCredential[] — Your API credential list
    - `productName` string — The product name related to this credential
    - `primaryToken` string — The primary token to be used in the next call in the user scope API
    - `secondaryToken` string — The secondary token. Could be usefull if you want to share your access with someone else.

## Other responses

- `202` — One time password sent by email
- `400` — Bad Request
- `401` — OTP required for authentication
- `403` — Invalid credentials
- `500` — Occurs when something goes wrong

---

[API](https://skmtc.net/beezup/apis/beezup-merchant-api.md) · [All operations](https://skmtc.net/beezup/apis/beezup-merchant-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beezup/beezup-merchant-api/versions/557b7feddf8a/schema)
