GET
/
subscriptions
/
{subscription_id}
/
schedule
curl --request GET \
  --url https://api.withorb.com/v1/subscriptions/{subscription_id}/schedule \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "start_date": "2023-11-07T05:31:56Z",
      "end_date": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "plan": {
        "id": "m2t5akQeh2obwxeU",
        "external_plan_id": "m2t5akQeh2obwxeU",
        "name": "Example plan"
      }
    }
  ],
  "pagination_metadata": {
    "has_more": true,
    "next_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Path Parameters

subscription_id
string
required

Query Parameters

limit
integer
default:
20

The number of items to fetch. Defaults to 20.

Required range: 1 < x < 100
cursor
string | null

Cursor for pagination. This can be populated by the next_cursor value returned from the initial request.

start_date[gte]
string | null
start_date[gt]
string | null
start_date[lt]
string | null
start_date[lte]
string | null

Response

200
application/json
OK
data
object[]
required
pagination_metadata
object
required