---
title: "Update a company profile"
method: PATCH
path: "/company-profiles/{id}"
tags: ["Profiles"]
---

# Update a company profile

`PATCH /company-profiles/{id}`

## Request

- Base URL: `https://app.gc.ai/api/external/v1`
- URL: `https://app.gc.ai/api/external/v1/company-profiles/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/gc-ai/apis/gc-ai-external-api/docs/company-profiles/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Partially update a company profile. Omitted fields are left unchanged; nullable fields accept `null` to clear them.

User-scoped keys require write access to the company profile; org-scoped keys can update any company profile in the organization. Creating the first company profile is done in the web UI.

## Path parameters

- `id` string, uuid, required: Company profile ID from `GET /company-profiles`.

## Request body

- UpdateCompanyProfileRequest
  - `name` string: Company name (cannot be cleared, max 255 chars)
  - `dba_name` string, nullable: Doing-business-as name. Send null to clear.
  - `industry` string, nullable: Industry sector. Send null to clear.
  - `size` string, nullable: Company size band. Send null to clear.
  - `location` string, nullable: Primary office location. Send null to clear.
  - `incorporation_country` string, nullable: Country of incorporation. Send null to clear.
  - `incorporation_state` string, nullable: State/province of incorporation. Send null to clear.
  - `description` string, nullable: Short company description. Send null to clear.
  - `revenue` string, nullable: Annual revenue band. Send null to clear.
  - `legal_matters` string, nullable: Typical legal matters. Send null to clear.
  - `regulations` string, nullable: Key regulations. Send null to clear.
  - `risk_tolerance` string, nullable: Risk tolerance level. Send null to clear.
  - `additional_info` string, nullable: Free-form additional context. Send null to clear.
  - `customer_types` string[], nullable: Types of customers served. Send null or [] to clear.

## Response `200`

The updated company profile

- CompanyProfileResponse
  - `id` string, uuid, required: Unique company profile identifier
  - `name` string, required: Company name
  - `dba_name` string, nullable, required: Doing-business-as name, or null
  - `industry` string, nullable, required: Industry sector, or null
  - `size` string, nullable, required: Company size band (e.g. "51-200"), or null
  - `location` string, nullable, required: Primary office location, or null
  - `incorporation_country` string, nullable, required: Country of incorporation, or null
  - `incorporation_state` string, nullable, required: State/province of incorporation, or null
  - `description` string, nullable, required: Short company description, or null
  - `revenue` string, nullable, required: Annual revenue band, or null
  - `legal_matters` string, nullable, required: Typical legal matters the company handles, or null
  - `regulations` string, nullable, required: Key regulations the company must comply with, or null
  - `risk_tolerance` string, nullable, required: Risk tolerance level (e.g. "Low"), or null
  - `additional_info` string, nullable, required: Free-form additional context for the AI, or null
  - `customer_types` string[], nullable, required: Types of customers the company serves, or null
  - `created_at` string, nullable, required: ISO 8601 creation timestamp
  - `updated_at` string, nullable, required: ISO 8601 last-update timestamp

## Other responses

- `400`: No fields provided, or invalid request body
- `401`: Missing or malformed API key
- `403`: Caller has read-only access to the company profile
- `404`: Company profile not found or not accessible to the caller
- `429`: Rate limit exceeded. See [Rate Limits](https://docs.gc.ai/api-reference/concepts/rate-limits) for the tiers, limits, and how to back off.
- `500`: Internal server error
- `503`: Service temporarily unavailable

---

[API](https://skmtc.dev/gc-ai/apis/gc-ai-external-api.md) - [All operations](https://skmtc.dev/gc-ai/apis/gc-ai-external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gc-ai/apis/gc-ai-external-api/revisions/2bbdfddf7107?raw)
