Skip to main content
POST

Authorizations

anchor-api-key
string
header
required

API key for your Anchor Browser account, sent as the anchor-api-key header on every request. Create one at app.anchorbrowser.io (API Access), or obtain one programmatically via the unauthenticated agent-access flow (POST /v1/agent-access).

Path Parameters

identityId
string<uuid>
required

The ID of the identity to reauthenticate

Body

application/json
sync
boolean
default:true

When true (default), wait for authentication to finish and persist the refreshed profile before returning. When false, start authentication asynchronously.

Response

Identity reauthentication started or completed

identityId
string
required

The identity that was reauthenticated

async
boolean
required

Whether authentication is still running in the background

sessionId
string
required

Browser session that ran the reauthentication; its recording shows what happened

auth_status
enum<string>
required

authenticated: the identity is signed in again; pending: an async run is still in progress

Available options:
authenticated,
pending
method
enum<string>

How the identity got authenticated: profile = stored profile was still signed in, task = agentic authentication task, mixed = both. Absent while pending.

Available options:
profile,
task,
mixed