Workspaces / REST API

Get workspace subscription

Get the workspace owner's subscription state in one call: planType (starter/pro/etc), status, isAdmin, trialEnd, trialDaysRemaining, isTrialActive, totalSeats, usedSeats, and currentPeriodEnd. Resolves to the workspace owner so all members see the same plan. Pipeline is BYOK - no usage credits are charged.

GET /api/billing/subscriptionDeterministic operation

Parameters

workspaceIdOptional · string
Optional. Omitting it falls back to the authenticated user's personal subscription.
Request example
curl -X GET "https://app.pipeline.help/api/billing/subscription" \
  -H "Authorization: Bearer $PIPELINE_API_KEY"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional. Omitting it falls back to the authenticated user's personal subscription."
    }
  }
}
See this operation inCLI MCP TypeScript SDK
API reference | Pipeline v2 preview