Skip to main content
POST
Start Dynamic Auth Flow

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

session_id
string
required

Active browser session that will drive the login.

Body

application/json
url
string<uri>
required

Landing URL to open in the session (login page).

Example:

"https://example.com/login"

host
string
required

Hostname of url. Must match the URL hostname after normalization.

Example:

"example.com"

Response

First presentation of the auth flow

Presentation returned by start/resolve. GET /state nests the same object as view when there is something to show. Discriminated on type. Call /resolve only for decision or form.

session_id
string
required
host
string
required

Hostname the flow was started for.

current_step_label
string
required

Human-readable label of the current login step.

step_id
string
required

Identifier of the current login step.

cdp_url
string
required

CDP websocket URL of the session driving the login.

live_view_url
string
required

URL to watch or take over the session in a browser.

type
enum<string>
required
Available options:
decision
options
object[]
required

Each item is { step_id, label, automatable }. POST /resolve with { "choice": "<step_id>" }.

discovery_error
string

Set when automatic step detection hit an error. A partial flow may still be presented.