Integrating · Published 2026-11-29 · Updated 2026-11-29 · AgentiSend
Events without a public URL
Read the same events a webhook would send, with a key, when you have no public address for a delivery.
No public URL needed. GET /events?wait=25 holds until an event exists or 25 seconds pass, then returns the events on your account, oldest first. Each row is the same JSON a webhook would post: id, type, occurred_at, account_id, data and created_at.
Pass after as the next_cursor from the previous response. next_cursor is set on every page once you have read an event, including the last one and an empty wait, so keep the newest one and send it with the next wait. types is a comma-separated list of event names from the event catalogue. limit is at most 100. wait is a whole number of seconds from 0 to 25. wait=0 returns what is already stored.
Without wait, types, or an after value from this feed, GET /events lists custom event definitions for automations.
A key limited to inboxes sees events for the inboxes it can read. Five waits can run on one key at the same time. A further wait is refused until one of them finishes. Retry that call.
wait_for_events is the same read for an agent. If your client does not list it, call list_more_tools with category webhooks, then call it.