List Mailboxes

Request

GET /v2/mailboxes HTTP/1.1
Authorization: Bearer oauth_token

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
  "_embedded" : {
    "mailboxes" : [ {
      "id" : 1,
      "name" : "Help Scout",
      "slug" : "83ebc5d87292a795",
      "email" : "bearbox@acme.com",
      "createdAt" : "2013-06-05T09:17:15Z",
      "updatedAt" : "2016-11-11T12:20:39Z",
      "_links" : {
        "self" : {
          "href" : "..."
        },
        "folders" : {
          "href" : "..."
        },
        "fields" : {
          "href" : "..."
        }
      }
    }, {
      "id" : 2,
      "name" : "Help Pioneer",
      "slug" : "83ebc5d87292a795",
      "email" : "pioneer@acme.com",
      "createdAt" : "2013-06-05T09:17:15Z",
      "updatedAt" : "2016-11-11T12:20:39Z",
      "_links" : {
        "self" : {
          "href" : "..."
        },
        "folders" : {
          "href" : "..."
        },
        "fields" : {
          "href" : "..."
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "..."
    },
    "first" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "page" : {
      "href" : "...",
      "templated" : true
    }
  },
  "page" : {
    "size" : 50,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 1
  }
}

Response fields

Path Type Description
_embedded.mailboxes Array List of Mailbox objects