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

# Get a company

> Retrieves a single company by its ID.

<Note>Returns a [company](/api-reference/objects/company) object.</Note>


## OpenAPI

````yaml GET /companies/{companyId}
openapi: 3.1.0
info:
  title: Alta API
  description: >-
    The Alta public API allows you to programmatically access and manage your
    campaigns, prospects, companies, persons, email messages, LinkedIn messages,
    calls, reps, tags, and trigger assistant calls.
  version: 1.0.0
servers:
  - url: https://api.altahq.com/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /companies/{companyId}:
    get:
      tags:
        - Companies
      summary: Get a company
      description: Retrieves a single company by its ID.
      operationId: getCompany
      parameters:
        - name: companyId
          in: path
          required: true
          description: The UUID of the company.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The company object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Company'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Company:
      allOf:
        - $ref: '#/components/schemas/BaseEntity'
        - type: object
          required:
            - objectType
            - industries
          properties:
            objectType:
              type: string
              enum:
                - company
            name:
              type: string
              nullable: true
              description: The company name.
            website:
              type: string
              nullable: true
              description: The company website URL.
            domain:
              type: string
              nullable: true
              description: The company domain.
            logoUrl:
              type: string
              nullable: true
              description: URL to the company logo.
            industries:
              type: array
              items:
                type: string
              description: List of industries the company operates in.
            city:
              type: string
              nullable: true
              description: The city where the company is located.
            state:
              type: string
              nullable: true
              description: The state or region where the company is located.
            country:
              type: string
              nullable: true
              description: The country where the company is located.
    BaseEntity:
      type: object
      required:
        - id
        - objectType
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the object.
        objectType:
          type: string
          description: The type of this object.
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the object was created.
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the object was last updated.
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          description: Error type.
        message:
          type: string
          description: Human-readable error message.
  responses:
    Unauthorized:
      description: Authentication failed - invalid or missing API token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
            message: Invalid API token
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: NotFound
            message: Resource not found
    RateLimited:
      description: >-
        Too many requests - you've exceeded the rate limit of 100 requests per
        minute.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: TooManyRequests
            message: Rate limit exceeded. Please retry after 60 seconds.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token authentication. Generate a token from the Alta dashboard and
        pass it as a Bearer token in the Authorization header.

````