---
title: "Wait for Event"
method: POST
path: "/v1/events/{event_name}/wait"
tags: ["Event Coordination"]
---

# Wait for Event

`POST /v1/events/{event_name}/wait`

Waits for a specific event to be signaled by another process, workflow, or session. 
This endpoint blocks until the event is signaled or the timeout is reached.
Useful for coordinating between multiple browser sessions or workflows.

## Path parameters

- `event_name` string, required

## Request body

- WaitForEventRequestSchema
  - `timeoutMs` integer — Timeout in milliseconds to wait for the event. Defaults to 60000ms (1 minute).

## Response `200`

Event was signaled successfully

- EventResponseSchema
  - `data` object — The event data that was signaled

## Other responses

- `401` — Unauthorized - Invalid API key
- `408` — Timeout - Event was not signaled within the specified timeout
- `500` — Failed to wait for event

## Changes

- **2025-10-16** `b7fe7610c0ce` — 1 info
  - the `timeoutMs` request property default value `60000` was removed

[Change history](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/changes/v1/events/:event_name/wait/post.md)

---

[API](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api.md) · [All operations](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anchorbrowser/anchorbrowser-api/revisions/d0f5aa64f9f4/schema)
