---
title: "Find the subscription of an organization using its ID"
method: GET
path: "/organizations/{organizationId}/billing/subscription"
tags: ["Organizations"]
---

# Find the subscription of an organization using its ID

`GET /organizations/{organizationId}/billing/subscription`

## Path parameters

- `organizationId` string, required

## Response `200`

Details of the organziation's current subscription

- BillingSubscription
  - `billingPortalUrl` string
  - `billingPortalAddPaymentMethodUrl` string
  - `hasPaymentMethod` boolean, required
  - `planType` 'free' | 'advanced' | 'enterprise' | 'standard', required
  - `inTrial` boolean, required
  - `scope` string[], required
  - `trialStart` string, date-time
  - `trialEnd` string, date-time
  - `trialDaysLeft` number
  - `currentBillingPeriod` BillingSubscriptionPeriod
    - `startDate` string, date-time, required
    - `endDate` string, date-time, required
    - `usagesCount` number
  - `version` string, required
  - `shouldLockEnvironmentSwitch` boolean
  - `coupons` BillingSubscriptionCoupon[]
    - `coupon` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/revisions/aac826315d90/schema)
