List Org Group Members
curl --request GET \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/groups/{groupSlug}/members \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/groups/{groupSlug}/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/orgs/{orgSlug}/groups/{groupSlug}/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"orgSlug": "<string>",
"groupSlug": "<string>",
"userId": "<string>",
"id": "<string>",
"createdBy": "<string>",
"createdAt": "<string>"
}
],
"total": 123
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}Organizations
List Org Group Members
List members of a group
GET
/
v2
/
orgs
/
{orgSlug}
/
groups
/
{groupSlug}
/
members
List Org Group Members
curl --request GET \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/groups/{groupSlug}/members \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/groups/{groupSlug}/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/orgs/{orgSlug}/groups/{groupSlug}/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"orgSlug": "<string>",
"groupSlug": "<string>",
"userId": "<string>",
"id": "<string>",
"createdBy": "<string>",
"createdAt": "<string>"
}
],
"total": 123
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Sort field and direction, e.g. -createdAt
Comma-separated list of user ids to filter on
Was this page helpful?