Skip to main content
POST
Wait for Event

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

event_name
string
required

The name of the event to wait for

Body

application/json
timeoutMs
integer

Timeout in milliseconds to wait for the event. Defaults to 60000ms (1 minute).

Response

Event was signaled successfully

data
object

The event data that was signaled

Example: