---
title: "Bind Browser View"
method: POST
path: "/v1/browser-views/binding"
tags: ["browser-views"]
---

# Bind Browser View

`POST /v1/browser-views/binding`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/browser-views/binding`
- Auth: none declared

The person pressed "Open the browser": the page is theirs, in this browser only.

## Request body

- BrowserViewCodeBody: The page's link code, read from the page's address.
  - `code` string, password, required

## Response `200`

Successful Response

- BrowserViewSession: What the page shows around the live browser.
  - `site` string, required: The site the person is asked to use, for example 'example.com'.
  - `reason` string, required: Why Patricia asks, in the person's words, for example 'Sign in to example.com'.
  - `expires_at` string, date-time, required: When the page stops working.
  - `opened_here` boolean, required: Whether this browser opened the page, so it can show the browser now.

## Other responses

- `403`: The page was first opened in another browser.
- `404`: The link is unknown, expired or finished. One answer for each.
- `422`: Validation Error
- `429`: Too many requests from this address.

---

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