Skip to content

Upload an image as the organization chart

POST
/v1/org-chart/upload
curl --request POST \
--url https://api.varman.io/v1/org-chart/upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "fileName": "example", "fileType": "example", "fileData": "example" }'

Upload an image as the organization chart in Varman. Manage organization chart metadata and evidence used for governance, accountability, and audit readiness.

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Media typeapplication/json
object
fileName
required

Original file name

string
fileType
required

MIME type of the file (e.g. image/png)

string
fileData
required

Base64-encoded file data

string

Example generated

{
"fileName": "example",
"fileType": "example",
"fileData": "example"
}

The uploaded organization chart