SecureAgentMail

List inboxes

Returns a paginated list of inboxes belonging to the authenticated account. Results can be filtered by status.

GET
/inboxes

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as a Bearer token. Production keys start with am_live_ and sandbox keys start with am_test_.

In: header

Query Parameters

status?string

Filter inboxes by status.

Value in"active" | "paused"
limit?integer

Maximum number of items to return per page.

Default25
Range1 <= value <= 100
cursor?string

Opaque pagination cursor returned as next_cursor from a previous request.

Response Body

application/json

application/json

application/json

curl -X GET "https://secureagentmail.com/api/v1/inboxes"
{
  "inboxes": [
    {
      "id": "inb_abc123",
      "slug": "support-bot",
      "display_name": "Support Bot",
      "address": "[email protected]",
      "security_level": "guarded_send",
      "status": "active",
      "message_count": 142,
      "created_at": "2026-01-15T08:30:00Z",
      "updated_at": "2026-02-20T14:00:00Z"
    }
  ],
  "has_more": true,
  "next_cursor": "string"
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key.",
    "status": 401
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Rate limit exceeded. Please retry after 30 seconds.",
    "status": 429
  }
}