Skip to main content
POST
/
organisations
Create Organisation
curl --request POST \
  --url https://platform.versori.com/api/organisations/v1/organisations \
  --header 'Content-Type: application/json' \
  --data '{
  "slug": "<string>",
  "displayName": "<string>"
}'
{
  "id": "<string>",
  "slug": "<string>",
  "displayName": "<string>",
  "owner": "<string>",
  "billing": {
    "platformId": "<string>",
    "platformType": "<string>",
    "customerId": "<string>",
    "subscriptionId": "<string>",
    "billingEmail": "<string>",
    "recentSubscriptions": [
      {
        "id": "<string>",
        "status": "active",
        "rawData": "<any>"
      }
    ],
    "isSubscriptionActive": 123,
    "hasMoreSubscriptions": true,
    "freeTrialEndDate": "2023-12-25",
    "billingPeriodStart": "2023-12-25",
    "billingPeriodEnd": "2023-12-25",
    "isBespoke": true,
    "boardQuota": 123,
    "hubBoardQuota": 123
  },
  "systemServiceAccountClientID": "<string>",
  "plan": "<string>"
}

Body

application/json
slug
string
required

Slug is a unique, lower-cased, human-readable identifier for this Organisation. It may only contain alphanumeric characters and hyphens, and must start with a letter.

displayName
string
required

Response

Created

id
string<ulid>
required
slug
string
required
displayName
string
required
owner
string
required
billing
object
required

Billing contains information about the billing status of an Organisation.

systemServiceAccountClientID
string
required

SystemServiceAccountClientID is the client ID of the system service account for this Organisation. This is automatically created when the Organisation is created and is used by internal services which must authenticate on behalf of the Organisation. It cannot be deleted.

plan
string

Subscription plan the organisation is enrolled.

I