curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"organisations": [
{
"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>"
}
]
}
GetOrganisations returns a paginated list of Organisations which the current user is a member of. If there is no filter provided, the result will always contain the active Organisation as the first item of the first page. Otherwise, the filter is applied to the name and slug using a case-insensitive substring match.
curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"organisations": [
{
"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>"
}
]
}