---
title: "Starts the authentication process for OPAQUE."
method: POST
path: "/OPAQUE/Login"
tags: ["OPAQUE"]
---

# Starts the authentication process for OPAQUE.

`POST /OPAQUE/Login`

## Request

- Base URL: `https://api.pishock.com`
- URL: `https://api.pishock.com/OPAQUE/Login`
- Auth: one of:
  - API key in header `X-PiShock-Token`
  - API key in header `X-PiShock-UserId`
  - API key in header `X-PiShock-Server-Key`
  - API key in header `X-PiShock-Api-Key`

This method requires OPAQUE parameters, alpha and MacAddr

## Request body

- OPAQUELoginRequest: Request for OPAQUE Login.
  - `Ke1` string: Ristretto-Blinded password.
  - `MacAddr` string: MAC Address of the device.

## Response `200`

Login started.

## Other responses

- `400`: Request missing Ke1 or correct MAC
- `404`: Device not registered.
- `503`: OPAQUE Login failed.

## Changes

- **2026-11-10** `6398a6a65c40`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pishock/apis/pishock-public-api-v1/changes/OPAQUE/Login/post.md)

---

[API](https://skmtc.dev/pishock/apis/pishock-public-api-v1.md) - [All operations](https://skmtc.dev/pishock/apis/pishock-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pishock/apis/pishock-public-api-v1/revisions/6398a6a65c40?raw)
