---
title: "POST /api/v1/billing/create-customer-portal-session"
method: POST
path: "/api/v1/billing/create-customer-portal-session"
tags: ["Billing"]
---

# POST /api/v1/billing/create-customer-portal-session

`POST /api/v1/billing/create-customer-portal-session`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/billing/create-customer-portal-session`
- Auth: none declared

## Response `200`

OK

- GetCustomerPortalSessionResult
  - `portalSessionId` string, nullable
  - `token` string, nullable
  - `accessUrl` string, nullable
  - `status` 'UnKnown' | 'Created' | 'LoggedIn' | 'LoggedOut' | 'NotYetActivated' | 'Activated': The string or integer value may be used. UnKnown = 0, Created = 1, LoggedIn = 2, LoggedOut = 3, NotYetActivated = 4, Activated = 5
  - `createdAt` string, date-time
  - `expiresAt` string, date-time, nullable
  - `customerId` string, nullable

---

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