---
title: "Create Portal Session"
method: POST
path: "/v1/orgs/{org_id}/billing/portal-session"
tags: ["billing"]
---

# Create Portal Session

`POST /v1/orgs/{org_id}/billing/portal-session`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/orgs/{org_id}/billing/portal-session`
- Auth: none declared

## Path parameters

- `org_id` string, required

## Request body

- PortalIn
  - `return_url` string, uri, required

## Response `200`

Successful Response

- PortalOut
  - `url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
