---
title: "WorkspacePlan"
method: GET
path: "/workspaces/{workspace_id}/plans/{plan_id}"
tags: ["subscription"]
---

# WorkspacePlan

`GET /workspaces/{workspace_id}/plans/{plan_id}`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/plans/{plan_id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/plans/:plan_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns plans fitered by plan ID.

## Path parameters

- `workspace_id` integer, required
- `plan_id` integer, required

## Response `200`

Successful operation.

- BillingFancyPlan[]
  - `name` string
  - `plan_id` integer
  - `pricing_plans` BillingFancyPricingPlan[]
    - `actual_price_in_usd_cents` integer
    - `campaign` ModelsCampaign
      - `discount` integer
      - `end` string
      - `key` string
      - `name` string
      - `start` string
    - `list_price_in_usd_cents` integer
    - `name` string
    - `period` integer
    - `price_point_handle` string
    - `prices_month` BillingPricesStruct
      - `actual` integer
      - `base` integer
      - `with_tax` integer
    - `prices_period` BillingPricesStruct
      - `actual` integer
      - `base` integer
      - `with_tax` integer
    - `pricing_plan_id` integer

## Other responses

- `400`: Possible error messages: * Invalid plan * We're expecting an integer as part of the url for plan\_id * Plan {plan\_id} is not valid for this workspace
- `500`: Internal Server Error

---

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