POST
/
v1
/
core
/
organizations
Create an organization
curl --request POST \
  --url https://us-central1-siro-prod.cloudfunctions.net/api-externalApi/v1/core/organizations \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "orgGroupIds": [
    "<string>"
  ],
  "adminUids": [
    "<string>"
  ],
  "disabled": true,
  "industryIds": [
    "<string>"
  ],
  "ownerUid": "<string>"
}'
{
  "id": "<string>",
  "adminUids": [
    "<string>"
  ],
  "betaFeatures": [
    "<string>"
  ],
  "consentNotRequired": true,
  "dateCreated": "2023-11-07T05:31:56Z",
  "disabled": true,
  "industries": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "integrations": [
    {
      "id": "<string>",
      "name": "<string>",
      "externalAccountId": "<string>",
      "integrationPlatform": "MERGE",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "isActive": true
    }
  ],
  "name": "<string>",
  "ownerUid": "<string>",
  "teams": [
    {
      "id": "<string>",
      "name": "<string>",
      "coachUids": [
        "<string>"
      ],
      "memberUids": [
        "<string>"
      ]
    }
  ]
}

Body

application/json
name
string
required

Name of the organization

orgGroupIds
string[]
required

Organization Groups that you want to add this organization to

Organization Group ID

adminUids
string[]

The admins of this organization

Admin ID

disabled
boolean
industryIds
string[]

Industries that this organization belongs to

Industry ID

ownerUid
string

Owner ID

Response

200 - application/json

Create an organization

id
string
required

Organization ID

industries
object[]
required

Industries

integrations
object[]
required

Integrations

teams
object[]
required

Teams

adminUids
string[]

Admin IDs

betaFeatures
string[]

Beta features

If consent is not required

dateCreated
string<date-time>

The date at which this organization was created. Format: ISO 8601 timestamp (YYYY-MM-DDTHH:mm:ss.sssZ). Example: 2024-06-13T04:00:00.592Z

disabled
boolean

If this organization is disabled

name
string

Name of this organization

ownerUid
string

Owner ID