---
title: "GET /api/app/one-time-passwords/token"
method: GET
path: "/api/app/one-time-passwords/token"
tags: ["OneTimePasswords"]
---

# GET /api/app/one-time-passwords/token

`GET /api/app/one-time-passwords/token`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/one-time-passwords/token`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Query parameters

- `Username` string
- `ReferralCode` string

## Response `200`

Success

- KhaasFoodOneTimePasswordsDTOsOneTimePasswordResultDto
  - `username` string, nullable
  - `message` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
