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

# Get My Companies

> Get all companies that the current user belongs to.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/companies/me
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/companies/me:
    get:
      tags:
        - Companies
      summary: Get My Companies
      description: Get all companies that the current user belongs to.
      operationId: get_my_companies_api_v1_companies_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CompanySchema'
                type: array
                title: Response Get My Companies Api V1 Companies Me Get
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    CompanySchema:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: The name of the company
        id:
          type: integer
          title: The ID of the company
        date_added:
          type: string
          format: date-time
          title: The date the company was added
        date_updated:
          type: string
          format: date-time
          title: The date the company was updated
      type: object
      required:
        - name
        - id
        - date_added
        - date_updated
      title: CompanySchema
      description: The schema for a company.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````