---
title: "Fetch subscription schedule"
method: GET
path: "/subscriptions/{subscription_id}/schedule"
tags: ["Subscription"]
---

# Fetch subscription schedule

`GET /subscriptions/{subscription_id}/schedule`

This endpoint returns a [paginated](/api-reference/pagination) list of all plans associated with a subscription along
with their start and end dates. This list contains the subscription's initial plan along with past and future plan
changes.

## Path parameters

- `subscription_id` string, required

## Query parameters

- `limit` integer — The number of items to fetch. Defaults to 20.
- `cursor` string, nullable — Cursor for pagination. This can be populated by the `next_cursor` value returned from the initial request.
- `start_date[gte]` string, date-time, nullable
- `start_date[gt]` string, date-time, nullable
- `start_date[lt]` string, date-time, nullable
- `start_date[lte]` string, date-time, nullable

## Response `200`

OK

- SubscriptionScheduleItems
  - `data` SubscriptionScheduleItem[], required
    - `start_date` string, date-time, required
    - `end_date` string, date-time, nullable, required
    - `created_at` string, date-time, required
    - `plan` PlanMinified, required
      - `id` string, nullable, required
      - `external_plan_id` string, nullable, required — An optional user-defined ID for this plan resource, used throughout the system as an alias for this Plan. Use this field to identify a plan by an existing identifier in your system.
      - `name` string, nullable, required
  - `pagination_metadata` PaginationMetadata, required
    - `has_more` boolean, required
    - `next_cursor` string, nullable, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict
- `413` — Content Too Large
- `429` — Too Many Requests
- `500` — Internal Server Error

---

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