---
title: "List a pipeline's email subscriptions"
method: GET
path: "/api/v1/pipelines/{pipelineId}/email-subscriptions"
tags: ["Pipelines"]
---

# List a pipeline's email subscriptions

`GET /api/v1/pipelines/{pipelineId}/email-subscriptions`

## Request

- Base URL: `https://app.khotan.com`
- URL: `https://app.khotan.com/api/v1/pipelines/{pipelineId}/email-subscriptions`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Lists this pipeline's mailbox subscriptions. Each delivers new-message notifications from a connected Gmail or Outlook mailbox directly to its delivery URL. Responses never include the Outlook client state.

## Path parameters

- `pipelineId` string, required

## Response `200`

The pipeline's email subscriptions.

- object
  - `subscriptions` object[], required
    - `id` string, required
    - `emailIntegrationId` string, required
    - `provider` 'google' | 'microsoft', required
    - `target` object, required
      - `type` 'app' | 'pipeline', required
      - `id` string, required
    - `deliveryUrl` string, required
    - `status` 'pending' | 'active' | 'failed' | 'disabled', required
    - `expiresAt` string, nullable, required
    - `failure` object, nullable, required
      - `code` string, required
      - `message` string, required
    - `createdAt` string, required
    - `updatedAt` string, required

## Other responses

- `401`: Authentication is missing or invalid.
- `404`: The resource was not found.
- `429`: Too many requests; retry after the indicated delay.

---

[API](https://skmtc.dev/khotan/apis/khotan-api.md) - [All operations](https://skmtc.dev/khotan/apis/khotan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khotan/apis/khotan-api/revisions/90b512a53e42?raw)
