---
title: "Create a dashboard link for the user"
method: POST
path: "/v1/agent_auth/browser_login_link"
tags: ["Authentication"]
---

# Create a dashboard link for the user

`POST /v1/agent_auth/browser_login_link`

## Request

- Base URL: `https://api.revdoku.com`
- URL: `https://api.revdoku.com/v1/agent_auth/browser_login_link`
- Auth: HTTP bearer

Returns a dashboard URL for a path such as /mailboxes. The user signs in normally; the link grants no access.

## Request body

- object
  - `redirect_path` string
  - `account_id` string: Select another granted account for this request.
  - `reason` string, nullable: Optional purpose for this action. AI agents should explain intentional reads and changes when known; omit when unknown. Do not include secrets, file contents, or transcripts.

## Response `201`

Created

- object
  - `success` true, required
  - `data` BrowserLink, required
    - `url` string, uri, required: Dashboard link. The user signs in normally; the link grants nothing.
    - `path` string, required
    - `single_use` boolean
    - `requires_login` boolean
    - `redirect_path` string

## Other responses

- `default`: Request failed. See error.code. Any 429 or 503 response with Retry-After (for example 503 EMAIL_LABELING_PENDING or 503 EMAIL_INDEX_BUILDING): wait that many seconds, then try the read again. 429 EMAIL_SEND_RATE_LIMITED has no Retry-After. Never retry EMAIL_LOOP_DETECTED.

---

[API](https://skmtc.dev/revdoku/apis/revdoku-api.md) · [All operations](https://skmtc.dev/revdoku/apis/revdoku-api/llms.txt) · [OpenAPI document](https://skmtc.dev/revdoku/apis/revdoku-api/revisions/3ff4e2540a8b?raw)
