---
title: "PUT Create or update an interactive organization chart"
description: "Creates or updates an interactive organization chart for the authenticated organization."
last_updated: "2026-05-06T07:33:49.930489+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/org-chart/orgchartcontroller-upsertorgchart"
---

<APIEndpoint
  method={"PUT"}
  path={"/org-chart"}
  summary={"Create or update an interactive organization chart"}
  description={"Creates or updates an interactive organization chart for the authenticated organization."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]} />

## Request Body

Data for the organization chart, including nodes and edges.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"The saved organization chart"}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"PUT"}
  path={"/org-chart"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Data for the organization chart, including nodes and edges.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
