Mailboxes

List mailbox actions

List mailbox actions. View request and response details for this Samva email API endpoint.

GET
/v1/mailboxes/{id}/actions

Returns the actions proposed on a mailbox, newest first, filterable by state (approvalRequired lists the sends waiting for a person) and creation time (after, before). Pass nextCursor back as cursor for the next page; it is null on the last page.

x-api-key<token>

In: header

Path Parameters

id*string
Match^mbx_[0-9a-hjkmnp-tv-z]{16,24}$

Query Parameters

limit?string|null
cursor?CursorEncoded|null
state?|null
after?string|null
before?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/mailboxes/string/actions"
{  "items": [    {      "id": "string",      "type": "sendMessage",      "state": "proposed",      "source": "humanUi",      "proposedBy": {        "kind": "user",        "id": "string",        "displayName": "string"      },      "threadId": "string",      "draftId": "string",      "decision": {        "outcome": "allow",        "reason": "string",        "policyId": "string",        "decidedAt": "string"      },      "createdAt": "string",      "updatedAt": "string"    }  ],  "nextCursor": "string"}

Related documentation