---
title: "Generates a magic link URL for a user without sending an email. Mirrors the URL-building logic in requestMagicLink() so the returned link is identical to what would appear in the email. GET /auth/test/playwright/magic-link?username=...&appId=...&originUrl=... Headers: x-playwright-api-key: <key>"
method: GET
path: "/auth/test/playwright/magic-link"
tags: ["auth"]
---

# Generates a magic link URL for a user without sending an email. Mirrors the URL-building logic in requestMagicLink() so the returned link is identical to what would appear in the email. GET /auth/test/playwright/magic-link?username=...&appId=...&originUrl=... Headers: x-playwright-api-key: <key>

`GET /auth/test/playwright/magic-link`

## 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/magic-link`
- Auth: none declared

## Query parameters

- `username` string, required
- `appId` string, required
- `originUrl` string

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