cURL
curl --request GET \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/subscription \ --header 'Authorization: Bearer <token>'
{ "currentPeriodStart": "2023-11-07T05:31:56Z", "currentPeriodEnd": "2023-11-07T05:31:56Z", "items": [] }
Retrieves the subscription details for the workspace, including Stripe product information.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Simplified response DTO with only the requested fields
Show child attributes
Was this page helpful?