---
title: "Generates a signed JWT API token for a given app domain. Used by E2E global setup to produce a fresh x-api-key that BridgeAuthGuard will accept (JWT fast-path). POST /account/test/playwright/generate-jwt Headers: x-playwright-api-key: <your-api-key> Body: { appDomain: string } Returns: { token: string }"
method: POST
path: "/account/test/playwright/generate-jwt"
tags: ["account"]
---

# Generates a signed JWT API token for a given app domain. Used by E2E global setup to produce a fresh x-api-key that BridgeAuthGuard will accept (JWT fast-path). POST /account/test/playwright/generate-jwt Headers: x-playwright-api-key: <your-api-key> Body: { appDomain: string } Returns: { token: string }

`POST /account/test/playwright/generate-jwt`

## 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/account/test/playwright/generate-jwt`
- Auth: none declared

## Request body

- GenerateJwtRequestDto

## Response `201`

---

[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)
