Account and keys
List activity
Recent account events, newest first: inboxes added, drafts created, keys created, syncs, and sends.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization |
string | Required | Bearer followed by your API key. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit |
number | Optional | Number of events. Default 50. The log itself is capped. |
Response
200 OK. Returns array of events.
| Name | Type | Description |
|---|---|---|
id |
string | Event id. |
type |
string | What happened, like draft_created or inbox_added. |
detail |
object | Event details, such as inboxId and subject. |
by |
object | Who did it: type web, oauth, or api_key, plus the client or key label. Missing for background work. |
at |
string | ISO time. |
Errors
Any route can also return 401 for a bad key, 402 when the trial ended or payment failed, and 429 when you send too many requests. See Errors.