Skip to content
LogoLogo

Create a hosted checkout session for a paid Workspace plan

Create a hosted checkout session for a paid Workspace plan

POST/api/v1/workspaces/{workspace_id}/checkout-sessions

Creates a short-lived provider-hosted Checkout URL. The browser return is navigation only; signed provider webhooks remain authoritative for subscription state and entitlements.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Request Body

application/json
planRequired
string
Values
personalteamgrowth
cadenceRequired
string
Values
monthlyannual

Responses