---
title: "Create Portal Session"
method: POST
path: "/api/billing/portal"
tags: ["billing"]
---

# Create Portal Session

`POST /api/billing/portal`

## Request

- Base URL: `https://api.crowelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.crowelogic.com/api/billing/portal`
- Auth: none declared

Create a Stripe Customer Portal session for self-service management.

## Request body

- PortalRequest
  - `workspace_id` string, required
  - `return_url` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry.md) · [All operations](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry/llms.txt) · [OpenAPI document](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry/revisions/a3c1ef17f171?raw)
