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

# Update company

> Updates an existing company. Only provided fields will be updated.

<Note>
  **Required scope:** `CRM_WRITE`
</Note>

## Partial update

This endpoint performs a partial update -- only the fields you include in the request body are modified. Omitted fields are left unchanged.

All fields from the create endpoint are accepted and optional.


## OpenAPI

````yaml PUT /v2/api/crm/companies/{id}
openapi: 3.0.3
info:
  title: Allo API
  description: >-
    Allo API provides programmatic access to your Allo account, allowing you to
    manage webhooks, retrieve calls and contacts, and send SMS messages.


    All requests to `/v1/api/**` endpoints automatically go through quota
    checking and scope validation.
  version: 1.0.0
  contact:
    name: Allo Support
servers:
  - url: https://api.withallo.com
    description: Production server
security: []
tags:
  - name: Summary Templates
    description: >-
      Manage call summary templates that control how AI-generated call summaries
      are structured for your team.
  - name: Webhooks
    description: >-
      Manage webhook endpoints to receive real-time notifications about events
      in your Allo account. Each endpoint subscribes to one or more event topics
      and is verified with a signing secret.
  - name: Calls
    description: >-
      Retrieve and search call records with filtering and pagination. Filter
      calls by your Allo phone number.
  - name: Contacts
    description: >-
      Search and retrieve contact information with sorting and pagination.
      Includes engagement level tracking.
  - name: SMS
    description: Send SMS messages to phone numbers using your Allo numbers.
  - name: Phone Numbers
    description: Retrieve information about your Allo phone numbers.
  - name: Analytics
    description: Pre-computed call metrics, team performance, and outbound dial funnel
  - name: CRM
    description: Manage people, companies, and deals in your CRM.
paths:
  /v2/api/crm/companies/{id}:
    put:
      tags:
        - CRM
      summary: Update company
      description: Updates an existing company. Only provided fields will be updated.
      operationId: updateCompany
      parameters:
        - name: id
          in: path
          required: true
          description: Company ID (e.g., "com-xyz789")
          schema:
            type: string
            example: com-xyz789
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCompanyRequest'
            example:
              industry: SaaS
      responses:
        '200':
          description: Company updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/CrmCompany'
        '401':
          $ref: '#/components/responses/ApiUnauthorized'
        '404':
          $ref: '#/components/responses/ApiNotFound'
        '422':
          $ref: '#/components/responses/ApiValidationError'
        '429':
          $ref: '#/components/responses/ApiRateLimited'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    UpdateCompanyRequest:
      type: object
      description: >-
        Request body for updating a company. Only provided fields will be
        updated.
      properties:
        name:
          type: string
          nullable: true
          description: Company name
        website:
          type: string
          nullable: true
          description: Company website URL
        industry:
          type: string
          nullable: true
          description: Industry sector
    CrmCompany:
      type: object
      description: A company in the CRM
      properties:
        id:
          type: string
          description: Unique company identifier
          example: com-xyz789
        name:
          type: string
          description: Company name
          example: Acme Corp
        website:
          type: string
          nullable: true
          description: Company website URL
          example: https://acme.com
        industry:
          type: string
          nullable: true
          description: Industry sector
          example: Technology
        person_count:
          type: integer
          description: Number of people linked to this company
          example: 3
        interactions:
          type: integer
          description: Total number of interactions across all people in this company
          example: 12
        last_activity_at:
          type: string
          format: date-time
          nullable: true
          description: Timestamp of the last activity
          example: '2026-04-28T10:30:00'
        created_at:
          type: string
          format: date-time
          description: When the company was created
          example: '2026-04-01T09:00:00'
        updated_at:
          type: string
          format: date-time
          description: When the company was last updated
          example: '2026-04-28T10:30:00'
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            request_id:
              type: string
            retry_after_seconds:
              type: integer
              nullable: true
  responses:
    ApiUnauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiNotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiValidationError:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiRateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````