---
title: "Generates a valid MFA code + LOGIN_SESSION JWT for Playwright tests. This allows E2E tests to exercise MFA setup/challenge flows without SMS. GET /auth/test/playwright/mfa-code?appId=...&username=...&phoneNumber=...&mfaState=SETUP|REQUIRED Headers: x-playwright-api-key: <key>"
method: GET
path: "/auth/test/playwright/mfa-code"
tags: ["auth"]
---

# Generates a valid MFA code + LOGIN_SESSION JWT for Playwright tests. This allows E2E tests to exercise MFA setup/challenge flows without SMS. GET /auth/test/playwright/mfa-code?appId=...&username=...&phoneNumber=...&mfaState=SETUP|REQUIRED Headers: x-playwright-api-key: <key>

`GET /auth/test/playwright/mfa-code`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/auth/test/playwright/mfa-code`
- Auth: none declared

## Query parameters

- `appId` string, required
- `username` string, required
- `phoneNumber` string, required
- `mfaState` string, required

## Response `200`

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
