Skip to main content
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>",
  "id": "<string>",
  "roleSlug": "<string>",
  "invitedBy": "<string>",
  "invitedAt": "<string>",
  "inviteEmail": "<string>",
  "inviteToken": "<string>",
  "joinedAt": "<string>",
  "groups": [
    "<string>"
  ],
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}
{
"error": "AuthenticationError",
"message": "Unauthenticated"
}
{
"error": "ObjectNotFound",
"message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgSlug
string
required
userId
string
required

Response

Success

orgSlug
string
required
userId
string
required
status
enum<string>
required
Available options:
active,
invited,
suspended
id
string
roleSlug
string
invitedBy
string
invitedAt
string
inviteEmail
string
inviteToken
string
joinedAt
string
joinedVia
enum<string>
Available options:
direct,
invite-code,
invite-email,
auto-join,
join-rule
groups
string[]

Org group slugs the user belongs to. Only populated on listOrgMembers when includeGroups=true.

createdBy
string
updatedBy
string
createdAt
string
updatedAt
string