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

# List organizations

> Retrieve all organizations the current user is a member of



## OpenAPI

````yaml openapi.json get /api/organizations
openapi: 3.0.3
info:
  title: Warp API
  description: >-
    Comprehensive API for Warp platform including organizations, projects, ZK
    proofs, payments, and more
  version: 1.0.0
  contact:
    name: Warp Support
    email: support@usewarp.net
servers:
  - url: https://platform.usewarp.net
    description: Platform API
  - url: https://checkout.usewarp.net
    description: Checkout API
security:
  - bearerAuth: []
paths:
  /api/organizations:
    get:
      tags:
        - Organizations
      summary: List organizations
      description: Retrieve all organizations the current user is a member of
      responses:
        '200':
          description: Organizations retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  organizations:
                    type: array
                    items:
                      $ref: '#/components/schemas/Organization'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Organization:
      type: object
      properties:
        id:
          type: string
          description: Organization ID
        name:
          type: string
          description: Organization name
        current_plan_id:
          type: string
          description: Current plan ID
        owner_id:
          type: string
          description: Organization owner ID
        created_at:
          type: string
          format: date-time
          description: Organization creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Organization update timestamp
        member_count:
          type: integer
          description: Number of members in organization
        projects_count:
          type: integer
          description: Number of projects in organization
        user_role:
          type: string
          enum:
            - admin
            - member
          description: User's role in the organization
      required:
        - id
        - name
        - created_at
        - updated_at
        - member_count
        - projects_count
        - user_role
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: array
          items:
            type: object
          description: Detailed validation errors
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT Bearer token authentication

````