Skip to main content
GET
/
api
/
workspace
/
{workspaceId}
/
billing
/
portal
Get customer portal redirect
curl --request GET \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/billing/portal \
  --header 'Authorization: Bearer <token>'
{
  "error": "UNAUTHORIZED",
  "details": {
    "message": "Missing or invalid authentication token"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Response

Redirect to Stripe portal