v4
OpenAPI 3.1.02026-08-0255174167.5 KBevents
Wait for an event
Long-polls until the next event of eventType arrives on the account (optionally matching filters/regexFilters), or until timeout seconds elapse. Useful for one-shot waits such as receiving an inbound SMS code. For a continuous stream, use Open an event stream instead.
post/api/v1/events/wait
Headers
Authorizationstring required
Your Dial API key, sent as Authorization: Bearer sk_live_...
Request body
Response
The matching event.