---
title: "POST /v1/organizations/{organizationId}/customer_portal_sessions"
method: POST
path: "/v1/organizations/{organizationId}/customer_portal_sessions"
tags: ["Billing"]
---

# POST /v1/organizations/{organizationId}/customer_portal_sessions

`POST /v1/organizations/{organizationId}/customer_portal_sessions`

## Request

- Base URL: `https://api.golioth.io`
- URL: `https://api.golioth.io/v1/organizations/{organizationId}/customer_portal_sessions`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

## Path parameters

- `organizationId` string, required

## Request body

- BillingCreateCustomerPortalSessionBody
  - `callbackPath` string

## Response `200`

A successful response.

- GoliothCreateCustomerPortalResponse
  - `url` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2024-04-13** `1e1e047dcb23`: 3 warning, 1 info
  - removed the request property `organizationId`
  - removed the optional property `details/items/typeUrl` from the response with the `default` status
  - removed the optional property `details/items/value` from the response with the `default` status
  - added the optional property `details/items/@type` to the response with the `default` status

[Operation history](https://skmtc.dev/golioth/apis/golioth-api/changes/v1/organizations/:organizationId/customer_portal_sessions/post.md)

---

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