Update the company profile
curl --request PATCH \
--url https://app.gc.ai/api/external/v1/company-profile \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"dba_name": "<string>",
"industry": "<string>",
"size": "<string>",
"location": "<string>",
"incorporation_country": "<string>",
"incorporation_state": "<string>",
"description": "<string>",
"revenue": "<string>",
"legal_matters": "<string>",
"regulations": "<string>",
"risk_tolerance": "<string>",
"additional_info": "<string>",
"customer_types": [
"<string>"
]
}
'import requests
url = "https://app.gc.ai/api/external/v1/company-profile"
payload = {
"name": "<string>",
"dba_name": "<string>",
"industry": "<string>",
"size": "<string>",
"location": "<string>",
"incorporation_country": "<string>",
"incorporation_state": "<string>",
"description": "<string>",
"revenue": "<string>",
"legal_matters": "<string>",
"regulations": "<string>",
"risk_tolerance": "<string>",
"additional_info": "<string>",
"customer_types": ["<string>"]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
dba_name: '<string>',
industry: '<string>',
size: '<string>',
location: '<string>',
incorporation_country: '<string>',
incorporation_state: '<string>',
description: '<string>',
revenue: '<string>',
legal_matters: '<string>',
regulations: '<string>',
risk_tolerance: '<string>',
additional_info: '<string>',
customer_types: ['<string>']
})
};
fetch('https://app.gc.ai/api/external/v1/company-profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.gc.ai/api/external/v1/company-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'dba_name' => '<string>',
'industry' => '<string>',
'size' => '<string>',
'location' => '<string>',
'incorporation_country' => '<string>',
'incorporation_state' => '<string>',
'description' => '<string>',
'revenue' => '<string>',
'legal_matters' => '<string>',
'regulations' => '<string>',
'risk_tolerance' => '<string>',
'additional_info' => '<string>',
'customer_types' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.gc.ai/api/external/v1/company-profile"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"dba_name\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": \"<string>\",\n \"location\": \"<string>\",\n \"incorporation_country\": \"<string>\",\n \"incorporation_state\": \"<string>\",\n \"description\": \"<string>\",\n \"revenue\": \"<string>\",\n \"legal_matters\": \"<string>\",\n \"regulations\": \"<string>\",\n \"risk_tolerance\": \"<string>\",\n \"additional_info\": \"<string>\",\n \"customer_types\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.gc.ai/api/external/v1/company-profile")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"dba_name\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": \"<string>\",\n \"location\": \"<string>\",\n \"incorporation_country\": \"<string>\",\n \"incorporation_state\": \"<string>\",\n \"description\": \"<string>\",\n \"revenue\": \"<string>\",\n \"legal_matters\": \"<string>\",\n \"regulations\": \"<string>\",\n \"risk_tolerance\": \"<string>\",\n \"additional_info\": \"<string>\",\n \"customer_types\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gc.ai/api/external/v1/company-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"dba_name\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": \"<string>\",\n \"location\": \"<string>\",\n \"incorporation_country\": \"<string>\",\n \"incorporation_state\": \"<string>\",\n \"description\": \"<string>\",\n \"revenue\": \"<string>\",\n \"legal_matters\": \"<string>\",\n \"regulations\": \"<string>\",\n \"risk_tolerance\": \"<string>\",\n \"additional_info\": \"<string>\",\n \"customer_types\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"dba_name": "<string>",
"industry": "<string>",
"size": "<string>",
"location": "<string>",
"incorporation_country": "<string>",
"incorporation_state": "<string>",
"description": "<string>",
"revenue": "<string>",
"legal_matters": "<string>",
"regulations": "<string>",
"risk_tolerance": "<string>",
"additional_info": "<string>",
"customer_types": [
"<string>"
],
"created_at": "<string>",
"updated_at": "<string>"
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}Profiles
Update the Company Profile
Partially update the organization’s company profile. Omitted fields are left unchanged; nullable fields accept null to clear them.
Requires an org-scoped key (gcai_...): company context is organization-level configuration, so user-scoped keys receive 403. Creating the first company profile is done in the web UI.
PATCH
/
company-profile
Update the company profile
curl --request PATCH \
--url https://app.gc.ai/api/external/v1/company-profile \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"dba_name": "<string>",
"industry": "<string>",
"size": "<string>",
"location": "<string>",
"incorporation_country": "<string>",
"incorporation_state": "<string>",
"description": "<string>",
"revenue": "<string>",
"legal_matters": "<string>",
"regulations": "<string>",
"risk_tolerance": "<string>",
"additional_info": "<string>",
"customer_types": [
"<string>"
]
}
'import requests
url = "https://app.gc.ai/api/external/v1/company-profile"
payload = {
"name": "<string>",
"dba_name": "<string>",
"industry": "<string>",
"size": "<string>",
"location": "<string>",
"incorporation_country": "<string>",
"incorporation_state": "<string>",
"description": "<string>",
"revenue": "<string>",
"legal_matters": "<string>",
"regulations": "<string>",
"risk_tolerance": "<string>",
"additional_info": "<string>",
"customer_types": ["<string>"]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
dba_name: '<string>',
industry: '<string>',
size: '<string>',
location: '<string>',
incorporation_country: '<string>',
incorporation_state: '<string>',
description: '<string>',
revenue: '<string>',
legal_matters: '<string>',
regulations: '<string>',
risk_tolerance: '<string>',
additional_info: '<string>',
customer_types: ['<string>']
})
};
fetch('https://app.gc.ai/api/external/v1/company-profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.gc.ai/api/external/v1/company-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'dba_name' => '<string>',
'industry' => '<string>',
'size' => '<string>',
'location' => '<string>',
'incorporation_country' => '<string>',
'incorporation_state' => '<string>',
'description' => '<string>',
'revenue' => '<string>',
'legal_matters' => '<string>',
'regulations' => '<string>',
'risk_tolerance' => '<string>',
'additional_info' => '<string>',
'customer_types' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.gc.ai/api/external/v1/company-profile"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"dba_name\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": \"<string>\",\n \"location\": \"<string>\",\n \"incorporation_country\": \"<string>\",\n \"incorporation_state\": \"<string>\",\n \"description\": \"<string>\",\n \"revenue\": \"<string>\",\n \"legal_matters\": \"<string>\",\n \"regulations\": \"<string>\",\n \"risk_tolerance\": \"<string>\",\n \"additional_info\": \"<string>\",\n \"customer_types\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.gc.ai/api/external/v1/company-profile")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"dba_name\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": \"<string>\",\n \"location\": \"<string>\",\n \"incorporation_country\": \"<string>\",\n \"incorporation_state\": \"<string>\",\n \"description\": \"<string>\",\n \"revenue\": \"<string>\",\n \"legal_matters\": \"<string>\",\n \"regulations\": \"<string>\",\n \"risk_tolerance\": \"<string>\",\n \"additional_info\": \"<string>\",\n \"customer_types\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gc.ai/api/external/v1/company-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"dba_name\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": \"<string>\",\n \"location\": \"<string>\",\n \"incorporation_country\": \"<string>\",\n \"incorporation_state\": \"<string>\",\n \"description\": \"<string>\",\n \"revenue\": \"<string>\",\n \"legal_matters\": \"<string>\",\n \"regulations\": \"<string>\",\n \"risk_tolerance\": \"<string>\",\n \"additional_info\": \"<string>\",\n \"customer_types\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"dba_name": "<string>",
"industry": "<string>",
"size": "<string>",
"location": "<string>",
"incorporation_country": "<string>",
"incorporation_state": "<string>",
"description": "<string>",
"revenue": "<string>",
"legal_matters": "<string>",
"regulations": "<string>",
"risk_tolerance": "<string>",
"additional_info": "<string>",
"customer_types": [
"<string>"
],
"created_at": "<string>",
"updated_at": "<string>"
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"details": {}
}Authorizations
Body
application/json
Response
The updated company profile
Last modified on August 10, 2026
Was this page helpful?