CLI: Events
The commands of the doorman command line under Events. The account's event log: page back through it, or poll it forward.
doorman events list
doorman events list [flags]Sends events.list: GET /v1/events
List or poll events. Access any: any API key, or a console session. An app token needs events:read and mail:read.
Flags
--inbox-idstringoptionalOnly this inbox.
--thread-idstringoptionalOnly events whose stored payload names this thread. Can be combined with inboxId and type. A valid id with no visible matching events returns an empty result, including ids from another account or inbox. Trashing a thread does not remove its stored events.
--type"message.received" | "message.sent" | "thread.updated" | "inbox.created" | "inbox.deleted" | "delivery.failed" | "message.held" | "send.held" | "send.discarded" | "sign_in.requested" | "sign_in.completed"optionalOnly this event type.
--limitintegeroptionalPage size, 1 to 100. Defaults to 50.
--cursorstringoptionalPage from here: events with a smaller
seq.--afterstringoptionalPoll from here: events with a larger
seq, oldest first.
doorman events get
doorman events get <eventId> [flags]Sends events.get: GET /v1/events/{eventId}
Read an event. Access any: any API key, or a console session. An app token needs events:read and mail:read.
Flags
--event-idstringoptionalThe same as the argument
<eventId>, for a script that names everything.
doorman events get evt_01jc5e5f6g7h8j9k0m1n2p3q4r
