Get organizations
The param UserId to apply filter.
The param CountryCode to apply filter.
The param LanguageCode to apply filter.
The param Code to apply filter.
The param Name to apply filter.
The param Description to apply filter.
The param Avatar to apply filter.
The param IsPrivate to apply filter.
This enum is used to define the common status of an object in JFW.
Supported values:
The param Status to apply filter. This status is the status of the user in the organization.
The param Keywords to apply filter.
The sort data field to sort. By default, the value is ID.
Specifies the sorting order type for a collection.
The page number of the pagination. Default value is 0.
The page size of the pagination. Default value is 200.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
API call exceeded rate limit due to too many requests.
GET /api/v1/organizations HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"items": [
{
"id": "sApKpllz4sAplsmzha",
"code": "DFEC4E7907500C92CD259BB3755C1810",
"name": "ORG",
"languageCode": "en",
"countryCode": "US",
"avatar": "https://jfw.io/avatar.png",
"isDefault": true,
"isPrivate": false,
"isSystem": false,
"description": "JFW Organization",
"status": "Active",
"statusUser": "Joined",
"totalMembers": 1,
"createdUserId": "admin"
}
],
"totalItems": 1,
"pageNumber": 0,
"pageSize": 10
},
"errors": []
}
Last updated
Was this helpful?