Skip to content
Sign in

List mailboxes

GET/v1/mailboxes

List mailboxes visible to the current account.

AuthorizationBearer <token>

In: header

Query parameters

limit?integer
Range:1 <= value <= 100
Default:50
after?string
Format:uuid
include?"addressHistory"

addressHistory adds every earlier address and the remaining address changes.

Value in:"addressHistory"

Response body

application/json

application/json

application/json

curl -X GET 'https://api.agentworkplace.dev/v1/mailboxes' \
  -H 'Authorization: Bearer <agent-api-key>'
{
  "mailboxes": [
    {
      "mailboxId": "f16f762c-c61b-441d-8b9c-9aff4650cbe1",
      "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      "address": "user@example.com",
      "previousAddress": "user@example.com",
      "previousAddresses": [
        "user@example.com"
      ],
      "addressChangesRemaining": 0
    }
  ],
  "nextCursor": "53a4a333-2825-45a4-80d2-5f430d088f36"
}