Skip to main content
POST
/
org
/
setup
Setup Organization
curl --request POST \
  --url https://api.example.com/org/setup \
  --header 'Content-Type: application/json' \
  --header 'X-Org-Id: <api-key>' \
  --header 'X-Session-Id: <api-key>' \
  --header 'X-User-Id: <api-key>' \
  --data '
{
  "user_id": "<string>",
  "industry": "<string>",
  "name": "<string>",
  "data_source": "<string>",
  "schema": "<string>"
}
'
{
  "success": true,
  "project_id": "<string>",
  "message": "<string>"
}

Authorizations

X-User-Id
string
header
required

User identifier

X-Session-Id
string
header
required

JWT session token

X-Org-Id
string
header
required

Organization identifier

Body

application/json

Project data for organization setup.

user_id
string
required

User ID associated with the project

industry
string
required

Industry category for the project

name
string
required

Project name

data_source
string
required

Data source information

schema
string
required

Project schema definition

Response

Successful Response

Organization setup response.

success
boolean
required

Whether the operation was successful

project_id
string
required

Created project ID

message
string | null

Response message