Companies

Update a company org chart member

Mark a chart member as a champion (`is_champion`) and/or set who they report to (`manager_contact_id`; `null` clears the line and keeps the relation). A contact has one manager across the workspace, s

PATCH /v2/companies/{companyId}/org-chart/{contactId}

Parameters

Path parameters

companyId
string (uuid) required
contactId
string (uuid) required

Request body

Content-Type: application/json

is_champion
boolean
manager_contact_id
string (uuid)

Example

{
  "is_champion": false,
  "manager_contact_id": "00000000-0000-0000-0000-000000000000"
}

Responses

200 — Successful response

Content-Type: application/json

data
object required
data.org_chart
object required
data.org_chart.company_id
string (uuid) required
data.org_chart.members
array<object> required
data.org_chart.members[].contact_id
string (uuid) required
data.org_chart.members[].is_champion
boolean required
data.org_chart.members[].manager_contact_id
string (uuid) | null required

Example

{
  "data": {
    "org_chart": {
      "company_id": "00000000-0000-0000-0000-000000000000",
      "members": [
        {
          "contact_id": "00000000-0000-0000-0000-000000000000",
          "is_champion": false,
          "manager_contact_id": "00000000-0000-0000-0000-000000000000"
        }
      ]
    }
  }
}

400 — Request body failed validation.

Content-Type: application/json

(body)
any

401 — Missing or invalid API key.

Content-Type: application/json

(body)
any

403 — Valid key, insufficient permission.

Content-Type: application/json

(body)
any

404 — Resource does not exist.

Content-Type: application/json

(body)
any

409 — Request conflicts with the current state of the resource.

Content-Type: application/json

(body)
any

429 — Rate limit exceeded.

Content-Type: application/json

(body)
any

500 — Unexpected server error.

Content-Type: application/json

(body)
any

Code samples

curl https://api.prod.getdex.com/v2/companies/00000000-0000-0000-0000-000000000000/org-chart/00000000-0000-0000-0000-000000000000 \
  --request PATCH \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "is_champion": false,
  "manager_contact_id": "00000000-0000-0000-0000-000000000000"
}'
Copyright © 2026