cURL
curl --request POST \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/customer-portal-session \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "returnUrl": "<string>" } '
{ "sessionUrl": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 2083
Successful Response
Was this page helpful?