Skip to content

Create organization

Request

Create an organization that represents your business customer or partner. This should be called from the backend, using an admin access token (generated by a management app).

Required permissions: organizations:create, orgs:create.

Security
AdminAccessToken
Bodyapplication/jsonrequired
namestringrequired

Name of the organization

domainsArray of stringsrequired

Domains of the organization

app_idsArray of stringsrequired

A list of applications the organization can access

enabledboolean

Indicates if the organization is currently enabled

alias_namestring

Alias name of the organization

domainstringrequireddeprecated

Domain of the organization

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/cis/v1/organizations \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "domain": "string",
    "domains": [
      "string"
    ],
    "app_ids": [
      "string"
    ],
    "enabled": true,
    "alias_name": "string"
  }'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "organization_id": "string", "app_ids": [ … ], "name": "string", "domain": "string", "domains": [ … ], "created_at": 0, "updated_at": 0, "enabled": true, "managed_organizations_by_app": { … }, "managing_organization_id": "string", "logo_url": "string", "alias_name": "string" } }