> ## Documentation Index
> Fetch the complete documentation index at: https://myco-29fc6df6-sweetmantech-myc-3925-docs-document-the-apiar.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Organizations

> Retrieve all organizations that an account belongs to. Used for organization selector dropdowns and access control.



## OpenAPI

````yaml GET /api/organizations
openapi: 3.1.0
info:
  title: Recoup API
  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://recoup-api.vercel.app
security:
  - apiKeyAuth: []
paths:
  /api/organizations:
    get:
      description: >-
        Retrieve all organizations that an account belongs to. Used for
        organization selector dropdowns and access control.
      parameters:
        - name: accountId
          in: query
          description: The unique identifier of the account
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Organizations retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOrganizationsResponse'
        '400':
          description: Bad request - missing required parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationsErrorResponse'
components:
  schemas:
    GetOrganizationsResponse:
      type: object
      required:
        - status
        - organizations
      properties:
        status:
          type: string
          enum:
            - success
          description: Status of the request
        organizations:
          type: array
          items:
            $ref: '#/components/schemas/Organization'
          description: List of organizations the account belongs to
    OrganizationsErrorResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        message:
          type: string
          description: Error message describing what went wrong
    Organization:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: UUID of the membership record
        organization_id:
          type: string
          format: uuid
          description: UUID of the organization account
        organization_name:
          type: string
          description: Display name of the organization
        organization_image:
          type: string
          nullable: true
          description: Organization logo/image URL
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recoup API key. [Learn more](/quickstart#api-keys).

````