Get Org Member
curl --request GET \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/members/{userId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/members/{userId}', 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}/members/{userId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orgSlug": "<string>",
"userId": "<string>",
"status": "active",
"id": "<string>",
"roleSlug": "<string>",
"invitedBy": "<string>",
"invitedAt": "<string>",
"inviteEmail": "<string>",
"inviteToken": "<string>",
"joinedAt": "<string>",
"joinedVia": "direct",
"groups": [
"<string>"
],
"pendingGroups": [
"<string>"
],
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Organizations
Get Org Member
Get a specific member of an organization
GET
/
v2
/
orgs
/
{orgSlug}
/
members
/
{userId}
Get Org Member
curl --request GET \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/members/{userId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/members/{userId}', 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}/members/{userId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orgSlug": "<string>",
"userId": "<string>",
"status": "active",
"id": "<string>",
"roleSlug": "<string>",
"invitedBy": "<string>",
"invitedAt": "<string>",
"inviteEmail": "<string>",
"inviteToken": "<string>",
"joinedAt": "<string>",
"joinedVia": "direct",
"groups": [
"<string>"
],
"pendingGroups": [
"<string>"
],
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Success
Available options:
active, invited, suspended Available options:
direct, invite-code, invite-email, auto-join, join-rule Org group slugs the user belongs to. Only populated on listOrgMembers when includeGroups=true.
Group slugs to add the user to once they accept their invite. Set at import time for pending/invited members; cleared and applied as real group memberships when the invite is claimed.
Was this page helpful?