---
title: "Get Subscription Details"
method: GET
path: "/customers/{customerId}/subscriptions"
---

# Get Subscription Details

`GET /customers/{customerId}/subscriptions`

Retrieves the subscription details of a customer to different channels - SMS, email and WeChat. 
The status will be `OPTIN` for subscribed and `OPTOUT` for unsubscribed.

## Path parameters

- `customerId` integer, required

## Headers

- `X-CAP-API-OAUTH-TOKEN` string

## Response `200`

200

- object
  - `subscriptions` object[]
    - `channel` string
    - `priority` string
    - `type` string
  - `campaignId` integer
  - `communicationId` integer
  - `warnings` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
