---
title: "Sets up a standalone test app with an owner user (separate from NBLOCKS_DASHBOARD). This is designed for external projects (e.g., bridge-svelte) that need their own test app to run E2E tests against. Idempotent — if the app already exists (by domain), returns the existing one. The app is never deleted between test runs. POST /account/test/playwright/setup-test-app Headers: x-playwright-api-key: <your-api-key> Body: { domain: string, appName: string, ownerEmail: string, ownerPassword?: string } Returns: { appId, domain, tenantId, userId, email, message }"
method: POST
path: "/v1/account/test/playwright/setup-test-app"
tags: ["account"]
---

# Sets up a standalone test app with an owner user (separate from NBLOCKS_DASHBOARD). This is designed for external projects (e.g., bridge-svelte) that need their own test app to run E2E tests against. Idempotent — if the app already exists (by domain), returns the existing one. The app is never deleted between test runs. POST /account/test/playwright/setup-test-app Headers: x-playwright-api-key: <your-api-key> Body: { domain: string, appName: string, ownerEmail: string, ownerPassword?: string } Returns: { appId, domain, tenantId, userId, email, message }

`POST /v1/account/test/playwright/setup-test-app`

## 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/v1/account/test/playwright/setup-test-app`
- Auth: none declared

## Request body

- SetupTestAppRequestDto

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