curl --request POST \
--url http://localhost:3333/v1/org-chart/upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"fileName": "<string>",
"fileType": "<string>",
"fileData": "<string>"
}
'curl --request POST \
--url http://localhost:3333/v1/org-chart/upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"fileName": "<string>",
"fileType": "<string>",
"fileData": "<string>"
}
'API key for authentication
Organization ID (required for session auth, optional for API key auth)
The uploaded organization chart
Was this page helpful?