TypeScript SDK: Events
The methods of the TypeScript client under Events. The account's event log: page back through it, or poll it forward.
client.events.list
client.events.list(params: ListEventsParams = {}): Promise<EventPage>Sends events.list: GET /v1/events
The account's event log, newest first, with nextCursor to continue.
Access any: any API key, or a console session. An app token needs events:read and mail:read.
client.events.iterate
client.events.iterate(params: ListEventsParams = {}): AsyncGenerator<InboxEvent, void, undefined>Every event of the log, newest first, page by page.
client.events.poll
client.events.poll(after: number | string, params: PollEventsParams = {}): Promise<EventPoll>events.list with after: the events with a larger seq, oldest first, and latestSeq to poll from next. Start from the newest seq you have, or 0.
client.events.get
client.events.get(eventId: string): Promise<EventDetail>Sends events.get: GET /v1/events/{eventId}
The event, the payload exactly as it was signed and sent, and every delivery it produced.
Access any: any API key, or a console session. An app token needs events:read and mail:read.

