---
title: "Get subscription details"
method: GET
path: "/support/workspaces/{workspace_id}/sms"
tags: ["Subscriptions Support"]
---

# Get subscription details

`GET /support/workspaces/{workspace_id}/sms`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/support/workspaces/{workspace_id}/sms`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Retrieve associated chargebee subscription details for the workspace

## Path parameters

- `workspace_id` integer, required: Id of the workspace to work with

## Query parameters

- `fields` string: Fields to return. Can be (id, name)

## Response `200`

List of workspaces

- SubscriptionSchema
  - `sms_details` object, required: Subscription details
  - `url` string, required: URL of the subscription
  - `current_plan` CurrentPlanSchema, required
    - `id` string, required: ID of the SMS
    - `plan_id` string, required: Plan ID of the SMS
  - `available_plans` CurrentPlanSchema[], required
    - `id` string, required: ID of the SMS
    - `plan_id` string, required: Plan ID of the SMS
  - `available_addons` CurrentPlanSchema[], required
    - `id` string, required: ID of the SMS
    - `plan_id` string, required: Plan ID of the SMS

## Other responses

- `400`: Bad Request
- `401`: Authorization error

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
