---
title: "GET /auth/magic-link/test-token — TEST ONLY (protected by playwright API key) Returns a valid magic link JWT without sending an email. Used by e2e tests to test the /authenticate endpoint."
method: GET
path: "/v1/auth/magic-link/test-token"
tags: ["auth"]
---

# GET /auth/magic-link/test-token — TEST ONLY (protected by playwright API key) Returns a valid magic link JWT without sending an email. Used by e2e tests to test the /authenticate endpoint.

`GET /v1/auth/magic-link/test-token`

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

## Query parameters

- `appId` string, required
- `username` 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)
