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

# Ask admins for more credits

> For members who can't manage billing: notifies every owner and admin in the app and by email that you need more credits. One request per member per day goes out; a repeat returns `alreadyRequested: true`. Owners and admins get 409 because they can add credits themselves.




## OpenAPI

````yaml /openapi/billing.yaml post /workspaces/{workspaceId}/billing/credit-request
openapi: 3.1.0
info:
  title: Connie Billing API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for billing. They authenticate with your
    signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Credits
    description: >
      The workspace's credit balance. Any member can read the balance and plan
      prices; plan details and everything else in Billing are for workspace
      owners and admins only.
  - name: Plan
    description: The workspace's plan and subscription. Owners and admins only.
  - name: Usage log
    description: >-
      Every credit used or added, as shown in Settings > Logs. Owners and admins
      only.
paths:
  /workspaces/{workspaceId}/billing/credit-request:
    post:
      tags:
        - Credits
      summary: Ask admins for more credits
      description: >
        For members who can't manage billing: notifies every owner and admin in
        the app and by email that you need more credits. One request per member
        per day goes out; a repeat returns `alreadyRequested: true`. Owners and
        admins get 409 because they can add credits themselves.
      operationId: requestCredits
      parameters:
        - $ref: '#/components/parameters/workspaceId'
      responses:
        '200':
          description: The request was sent, or had already been sent today.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AdminNames'
                  - type: object
                    properties:
                      requested:
                        type: boolean
                        const: true
                      alreadyRequested:
                        type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          description: >
            `CAN_MANAGE_BILLING` (you are an owner or admin), `NO_ADMINS`
            (nobody to ask), or `NOT_DELIVERED` (the admins have billing
            notifications turned off).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '502':
          description: '`NOT_DELIVERED`: the request couldn''t be sent. Try again.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    workspaceId:
      name: workspaceId
      in: path
      required: true
      description: The workspace id, as in the app URL `connie.ai/<workspaceId>/...`.
      schema:
        type: string
        format: uuid
  schemas:
    AdminNames:
      type: object
      properties:
        admins:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
    Error:
      type: object
      properties:
        error:
          type: string
          description: A readable message.
        code:
          type: string
          description: A machine-readable code, when the route sets one.
  responses:
    Unauthorized:
      description: No valid session, or the session has expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: You are not a member of this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: >-
        Too many requests (`RATE_LIMIT_EXCEEDED`). Wait for the `Retry-After`
        seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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