cURL
curl --request GET \ --url https://api.instantly.ai/api/v2/workspace-billing/subscription-details \ --header 'Authorization: Bearer <token>'
{ "subscriptions": [ { "workspace_id": "019cc043-e404-746c-a56b-646edb4a05f0", "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" } ], "all_subs_cancelled": false }
Requires one of the following scopes: workspace_billing:read, workspace_billing:all, all:read, all:all
workspace_billing:read
workspace_billing:all
all:read
all:all
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
Show child attributes
Indicates whether all subscriptions are either already canceled or scheduled to be canceled at the end of their current billing cycles
false