---
title: "Create customer billing portal session"
method: GET
path: "/api/{org_id}/billings/billing_portal"
tags: ["Billings"]
---

# Create customer billing portal session

`GET /api/{org_id}/billings/billing_portal`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/billings/billing_portal`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/billings/billing_portal/get.ts> (a function with typed inputs; its response is checked against the schema)

Creates a Stripe customer portal session for managing subscription and billing

## Path parameters

- `org_id` string, required

## Response `200`

Success

- StripeBillingPortalSession
  - `created` integer, required
  - `customer` string, required
  - `id` string, required
  - `livemode` boolean, required
  - `locale` string, nullable
  - `on_behalf_of` string, nullable
  - `return_url` string, nullable
  - `url` string, required

## Other responses

- `404`: NotFound
- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
