---
title: "EmailMailboxRelations.list"
method: GET
path: "/entities/EmailMailboxRelations"
tags: ["Email"]
---

# EmailMailboxRelations.list

`GET /entities/EmailMailboxRelations`

## Request

- Base URL: `https://us-east.api.coevera.com/api/v100/rest/spaces/your_space_id`
- URL: `https://us-east.api.coevera.com/api/v100/rest/spaces/your_space_id/entities/EmailMailboxRelations`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/coevera/apis/coevera-crm-api/docs/entities/EmailMailboxRelations/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a page of EmailMailboxRelation records, optionally filtered, sorted and limited to selected fields.

## Query parameters

- `include-deleted` boolean
- `first` integer
- `last` integer
- `before` string
- `after` string
- `expand` string
- `order-by` string
- `filter` object
- `filter-op` object
- `load-only` string

## Response `200`

Page of EmailMailboxRelation records.

- object
  - `success` boolean: True when the request succeeded; false on error.
  - `data` EmailMailboxRelation[]
    - `is_delete_protected` boolean, required: True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
    - `id` string, uuid, required: Unique identifier of entity.
    - `is_deleted` boolean: Specifies if the entity is considered deleted.
    - `modified` string, date-time: Last modification time.
    - `created` string, date-time: Creation time.
    - `email` string, uri, required: Email that belongs to the mailbox. Related Email record, returned as the URI of the record. With the 'expand' parameter the full record is returned instead; see 'Email' for its fields.
    - `direction` 1 | 2: Direction of the email relative to this mailbox: outgoing for the mailbox that sent it, incoming for a mailbox that received it. The same email can therefore be outgoing in one mailbox and incoming in another. Defaults to the email direction when not set. Integer enum value: 1 - OutgoingEmail, 2 - IncomingEmail
    - `email_created` string, date-time: Creation time.
    - `email_id` string, uuid, required: Id of the email that belongs to the mailbox.
    - `email_is_deleted` boolean: True when the related email has been deleted from this mailbox; such links are hidden from the inbox view.
    - `error_code` integer: Error code for the email in this mailbox; 0 means the email was processed without error.
    - `event_types` string: Tracking events recorded so far for the related email (opens, clicks, replies, bounces, unsubscribes); several can be combined. Read-only; kept in sync with the email's EmailEvent records.
    - `is_draft` boolean: Copy of the related email's draft flag; true when the email is an unsent draft, which shows it in the mailbox Drafts.
    - `is_scheduled` boolean: Whether the email is scheduled to be sent at a future time and has not been sent yet.
    - `label_ids` object: Ids of the labels applied to this conversation in this mailbox. Read-only copy of the EmailLabelRelation records; manage labels via that entity rather than writing here.
    - `mailbox_id` string, uuid, required: Id of the mailbox (connected email account) the email belongs to.
    - `sent_or_scheduled_at` string, date-time: Time when the email was sent, or its scheduled send time if it has not been sent yet.
    - `thread_or_id` string, uuid: Id of the email thread, or the id of the email itself when it does not belong to a thread.
    - `type` 1 | 2: Copy of the related email's type: an individual email or part of a mass email. Read-only; kept in sync with the email. Integer enum value: 1 - Standard, 2 - Mass
  - `page_info` object: Pagination of the result; not returned when the legacy limit and offset parameters are used.
    - `start_cursor` string: Cursor of the first record of the page.
    - `end_cursor` string: Cursor of the last record of the page.
    - `has_previous_page` boolean: Whether records exist before this page; pass start_cursor as before to load them.
    - `has_next_page` boolean: Whether records exist after this page; pass end_cursor as after to load them.
  - `total` integer: Number of records that match the request, across all pages.

## Other responses

- `400`: Bad request: a bad or unknown parameter (codes 117, 118), a missing permission (code 50), conflicting data (code 2002) or any other API error. The REST API answers 400 where others answer 403 or 409; check `code`.
- `401`: Not authenticated: missing or wrong credentials, a credential of another space, or an expired token (code 401, ERROR_UNAUTHORIZED).
- `429`: Too many requests (code 182). Wait for the seconds in Retry-After, then retry.
- `500`: Unexpected server error (code 1000, ERROR_UNKNOWN).

---

[API](https://skmtc.dev/coevera/apis/coevera-crm-api.md) - [All operations](https://skmtc.dev/coevera/apis/coevera-crm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/coevera/apis/coevera-crm-api/revisions/40ebbc83f179?raw)
