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

# Get Account Subscription

> Retrieve the subscription for an account, directly or via an organization.



## OpenAPI

````yaml api-reference/openapi/accounts.json GET /api/accounts/{id}/subscription
openapi: 3.1.0
info:
  title: Recoup API - Accounts
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/accounts/{id}/subscription:
    get:
      description: >-
        Retrieve the subscription for an account, directly or via an
        organization.
      parameters:
        - name: id
          in: path
          description: >-
            The unique identifier (UUID) of the account. Must be the
            authenticated account or another accessible via organization
            membership.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Subscription retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionResponse'
        '401':
          description: Unauthorized - invalid or missing authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionErrorResponse'
              example:
                error: Unauthorized
        '403':
          description: Forbidden - account not accessible to the authenticated account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionErrorResponse'
        '404':
          description: Account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionErrorResponse'
      security:
        - apiKeyAuth: []
        - bearerAuth: []
components:
  schemas:
    SubscriptionResponse:
      type: object
      required:
        - isPro
        - status
        - plan
        - source
      properties:
        isPro:
          type: boolean
          description: >-
            True when the account has an active paid subscription, directly or
            via an organization.
        status:
          type: string
          enum:
            - active
            - trialing
            - canceled
            - past_due
            - none
          description: >-
            Lifecycle state of the subscription. `none` when no subscription
            exists.
          example: active
        plan:
          type: string
          nullable: true
          description: Plan identifier (e.g. `pro`). Null when no subscription exists.
          example: pro
        source:
          type: string
          enum:
            - account
            - organization
          nullable: true
          description: >-
            Origin of the subscription. `account` for direct, `organization`
            when covered by an organization. Null when no subscription exists.
          example: account
    SubscriptionErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message.
          example: Account not found
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recoup API key. [Learn more](/quickstart#api-keys).
    bearerAuth:
      type: http
      scheme: bearer

````