Skip to main content
POST
/
organizations
Create a new Organization
curl --request POST \
  --url https://app.ledger.ai/api/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filters
string

JSON post body:

{
"chat_apps"?: integer[]
"data"?: object
"description"?: string
"entitlements": integer[]
"extend_entitlements": integer[]
"initials": string
"language"?: object
"name": string
"picture_background_color"?: string
"picture"?: string
"primary_domain": string
"primary_location"?: string
"salt"?: string
"slug": string
"theme_primary_color"?: string
}

Possible errors:

Field "entitlements": "Entitlements is required"

Field "extend_entitlements": "Extend Entitlements is required"

Field "initials": "Initials is required"

Field "name": "Name is required"

Field "primary_domain": "Domain is required"

Field "slug": "Handle is required"

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.