v1

latestOpenAPI 3.1.02026-07-2617125852.3 KB
WorkspaceBilling

Get workspace subscription details

Requires one of the following scopes: workspace_billing:read, workspace_billing:all, all:read, all:all

get/api/v2/workspace-billing/subscription-details

Response

Default Response

all_subs_cancelledboolean

Indicates whether all subscriptions are either already canceled or scheduled to be canceled at the end of their current billing cycles

Example response

{
  "subscriptions": [
    {
      "workspace_id": "019f94cd-af87-7d8d-b361-f8da8048770e",
      "interval": "month",
      "quantity": 1,
      "product_id": "pid_g_v1",
      "product_type": "prt_outreach",
      "plan_type": "plt_primary",
      "current_period_end": 1704067200,
      "cancel_at_time": 1704067200,
      "price_in_dollars": 97,
      "price_id": "price_H5UMXtIFH7Rh9K"
    }
  ]
}