> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interaone.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an enterprise billing portal session



## OpenAPI

````yaml /openapi.json get /organizations/{orgId}/billing/portal
openapi: 3.0.0
info:
  title: InteraOne API
  version: 1.0.0
  description: >-
    REST API for InteraOne authentication, organizations, support operations,
    channels, knowledge, AI coordination, and administration.
servers:
  - url: http://localhost:3002/api/v1
    description: Local development gateway
security: []
tags:
  - name: Authentication
    description: Signup, login, OTP, password recovery, refresh, logout, and profile.
  - name: Organizations
    description: Tenant lifecycle, switching, billing entitlements, and usage.
  - name: Memberships
    description: Invitations, members, roles, and membership status.
  - name: Agent
    description: Support-agent profile and presence.
  - name: Conversations
    description: Inbox, messages, routing, status, memory, handoff, and agent assist.
  - name: Contacts
    description: Customer profiles, notes, tags, and conflict resolution.
  - name: Tickets
    description: Ticket creation, assignment, updates, notes, replies, and AI operations.
  - name: Templates
    description: Saved support response templates.
  - name: Widget
    description: Widget configuration, public sessions, conversations, and QR scans.
  - name: Channels
    description: >-
      Email, WhatsApp, Telegram, provisioning, verification, and inbound
      webhooks.
  - name: Email
    description: Internal email sending and contact verification.
  - name: Knowledge
    description: >-
      Knowledge sources, uploads, indexing, reindexing, and unanswered
      questions.
  - name: Storage
    description: Presigned object upload/download and metadata operations.
  - name: Notifications
    description: Tenant and user notifications.
  - name: Analytics
    description: Organization, owner, and agent support metrics.
  - name: Observability
    description: AI call ingestion and aggregate performance data.
paths:
  /organizations/{orgId}/billing/portal:
    get:
      tags:
        - Organizations
      summary: Create an enterprise billing portal session
      parameters:
        - in: path
          name: orgId
          required: true
          schema:
            type: string
        - in: query
          name: targetPlan
          required: false
          schema:
            type: string
            enum:
              - pro
              - proplus
      responses:
        '200':
          description: Billing portal session URL created
        '403':
          description: Owner role or enterprise availability required
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````