---
title: "Log in a patient with BP Passport UUID and OTP"
method: POST
path: "/patient/login"
tags: ["Patient"]
---

# Log in a patient with BP Passport UUID and OTP

`POST /patient/login`

## Request body

- object
  - `passport_id` string, uuid
  - `otp` string — This string should not be empty.

## Response `200`

Correct OTP is submitted and API credentials are returned

- object
  - `patient` LoginPatient
    - `id` string, uuid
    - `access_token` string — This string should not be empty.
    - `passport` object
      - `id` string, uuid
      - `shortcode` string — This string should not be empty.

## Other responses

- `401` — Incorrect BP Passport UUID or OTP

---

[API](https://skmtc.dev/simpledotorg/apis/untitled-api.md) · [All operations](https://skmtc.dev/simpledotorg/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simpledotorg/untitled-api/revisions/31ffa1d07978/schema)
