Mailboxes

List mailbox labels

Returns every label defined on a mailbox, ordered by name. A mailbox holds at most 100 labels, so the list is never paged.

GET
/v1/mailboxes/{id}/labels

Returns every label defined on a mailbox, ordered by name. A mailbox holds at most 100 labels, so the list is never paged.

x-api-key<token>

In: header

Path Parameters

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

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/labels"
{  "items": [    {      "id": "string",      "slug": "string",      "displayName": "string",      "color": "billing",      "createdAt": "string",      "updatedAt": "string"    }  ]}

Related documentation