---
title: "Get Subscription Details"
method: GET
path: "/customers/lookup/subscriptions"
---

# Get Subscription Details

`GET /customers/lookup/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.

## Query parameters

- `source` 'FACEBOOK' | 'WEB_ENGAGE' | 'WECHAT' | 'INSTORE' | 'MARTJACK' | 'TMALL' | 'TAOBAO' | 'JD' | 'ECOMMERCE' | 'WEBSITE' | 'LINE' | 'MOBILE_APP', required
- `accountId` string
- `identifierName` 'mobile' | 'email' | 'externalId' | 'cardExternalId' | 'cardNumber', required
- `identifierValue` string, 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)
