Update Company
patch
/v1/companies/{company_id}Updates a company's attributes and/or relationship sets. Only the supplied attributes change; passing null to a nullable attribute clears it. Relationship arrays passed as null detach all current links of that kind. Side effect: writes the company row and reconciles the named relationship junctions.
Requires a bearer token: Authorization: Bearer <token>.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| company_id | string <uuid> | Yes | Public UUID of the company.e.g. b2c3d4e5-6f70-4812-93a4-b5c6d7e8f9a0 |
Request
cURL
curl -X PATCH https://api.wellapp.ai/v1/companies/{company_id} \
-H "Authorization: Bearer $WELL_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"data": {
"type": "companies",
"id": "b2c3d4e5-6f70-4812-93a4-b5c6d7e8f9a0",
"attributes": {
"description": "Frontier AI lab and model vendor.",
"domain": "anthropic.com"
},
"relationships": {
"emails": {
"data": [
{
"type": "email",
"id": "e6f7a8b9-0c1d-42e3-94f5-a6b7c8d9e0f1"
}
]
}
}
}
}'Request body
{
"data": {
"type": "companies",
"id": "b2c3d4e5-6f70-4812-93a4-b5c6d7e8f9a0",
"attributes": {
"description": "Frontier AI lab and model vendor.",
"domain": "anthropic.com"
},
"relationships": {
"emails": {
"data": [
{
"type": "email",
"id": "e6f7a8b9-0c1d-42e3-94f5-a6b7c8d9e0f1"
}
]
}
}
}
}Responses
200 — The updated company.
{
"data": {
"type": "companies",
"id": "b2c3d4e5-6f70-4812-93a4-b5c6d7e8f9a0",
"attributes": {
"name": "Anthropic",
"description": "Frontier AI lab, vendor for model inference.",
"domain": "anthropic.com",
"registered_name": "Anthropic, PBC",
"trade_name": "Anthropic",
"registered_value": "C3981221",
"registry_name": "Delaware Division of Corporations",
"registry_country": "US",
"tax_id_value": "82-1990113",
"tax_id_type": "EIN",
"created_at": "2026-01-15T10:00:00.000Z",
"updated_at": "2026-05-10T12:00:00.000Z"
},
"relationships": {
"people": {
"data": []
},
"emails": {
"data": [
{
"type": "email",
"id": "e6f7a8b9-0c1d-42e3-94f5-a6b7c8d9e0f1"
}
]
}
}
},
"included": []
}400 — Bad Request
{
"code": "BAD_REQUEST",
"status": 400,
"title": "Bad Request",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}401 — Unauthorized
{
"code": "UNAUTHORIZED",
"status": 401,
"title": "Unauthorized",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}403 — Forbidden
{
"code": "FORBIDDEN",
"status": 403,
"title": "Forbidden",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}404 — Not Found
{
"code": "NOT_FOUND",
"status": 404,
"title": "Not Found",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}