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

# Change Plan

> Switch an existing subscription between Connect and Pro. The Stripe subscription's
price is changed in place, prorated; the webhook it sends updates the plan, and so does
this call, so the new allowances apply at once. Without a subscription, use checkout.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/billing/subscription/plan
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/billing/subscription/plan:
    post:
      tags:
        - Billing
      summary: Change Plan
      description: >-
        Switch an existing subscription between Connect and Pro. The Stripe
        subscription's

        price is changed in place, prorated; the webhook it sends updates the
        plan, and so does

        this call, so the new allowances apply at once. Without a subscription,
        use checkout.
      operationId: change_plan_v1_billing_subscription_plan_post
      parameters:
        - name: plan
          in: query
          required: true
          schema:
            type: string
            description: 'The plan to switch to: ''connect'' or ''pro'''
            title: Plan
          description: 'The plan to switch to: ''connect'' or ''pro'''
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanChangeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PlanChangeResponse:
      properties:
        plan:
          type: string
          title: Plan
        previous_plan:
          type: string
          title: Previous Plan
        status:
          type: string
          title: Status
      type: object
      required:
        - plan
        - previous_plan
        - status
      title: PlanChangeResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.