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

Command

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-idstringoptional

    Only this inbox.

  • --thread-idstringoptional

    Only 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"optional

    Only this event type.

  • --limitintegeroptional

    Page size, 1 to 100. Defaults to 50.

  • --cursorstringoptional

    Page from here: events with a smaller seq.

  • --afterstringoptional

    Poll from here: events with a larger seq, oldest first.

doorman events get

Command

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-idstringoptional

    The same as the argument <eventId>, for a script that names everything.

Example

doorman events get evt_01jc5e5f6g7h8j9k0m1n2p3q4r

Up Down to move, Enter to open, Esc to close