> ## 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 Company

> Get a specific company (admin only).



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/companies/{company_id}
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/{company_id}:
    get:
      tags:
        - Companies
      summary: Get Company
      description: Get a specific company (admin only).
      operationId: get_company_api_v1_companies__company_id__get
      parameters:
        - name: company_id
          in: path
          required: true
          schema:
            type: integer
            title: Company Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyWithMembersSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    CompanyWithMembersSchema:
      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
        memberships:
          items:
            $ref: '#/components/schemas/CompanyMembershipSchema'
          type: array
          title: The company memberships
          default: []
      type: object
      required:
        - name
        - id
        - date_added
        - date_updated
      title: CompanyWithMembersSchema
      description: The schema for a company with its members.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CompanyMembershipSchema:
      properties:
        id:
          type: integer
          title: The ID of the membership
        user_id:
          type: integer
          title: The ID of the user
        company_id:
          type: integer
          title: The ID of the company
        date_added:
          type: string
          format: date-time
          title: The date the membership was added
      type: object
      required:
        - id
        - user_id
        - company_id
        - date_added
      title: CompanyMembershipSchema
      description: The schema for a company membership.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````