---
title: "Get Mailbox Associated Sequences"
method: GET
path: "/mailboxes/{mailbox_id}/associated-sequences"
tags: ["Mailboxes"]
---

# Get Mailbox Associated Sequences

`GET /mailboxes/{mailbox_id}/associated-sequences`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/mailboxes/{mailbox_id}/associated-sequences`
- Auth: HTTP bearer

Every sequence that references this mailbox, at any status.

Check this before archiving or cancelling a mailbox - the app blocks those
actions while a sequence is still wired to it, and a rebuilt UI needs the
same signal to avoid silently breaking a live send.

Exposed as GET rather than the app's POST: it reads and has no body. The
app's POST is left untouched.

## Path parameters

- `mailbox_id` integer, required: Mailbox id.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

Successful Response

- ApiResponseMailboxAssociatedSequencesResponse
  - `data` MailboxAssociatedSequencesResponse, required: Sequences wired to a mailbox, at ANY status. `has_associations` is the field to branch on before archiving or cancelling - it is true whenever the list is non-empty, including for draft and terminated sequences, which is exactly how the app gates those actions.
    - `sequences` AssociatedSequence[]
      - `id` integer, nullable
      - `title` string, nullable
      - `status` string, nullable
    - `has_associations` boolean
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
