Get Org Invite
curl --request GET \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/invites/{inviteCode} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/invites/{inviteCode}', 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}/invites/{inviteCode}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orgSlug": "<string>",
"status": "active",
"id": "<string>",
"code": "<string>",
"roleSlug": "<string>",
"usedCount": 123,
"createdBy": "<string>",
"revokedAt": "<string>",
"revokedBy": "<string>",
"createdAt": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Organizations
Get Org Invite
Get a specific invite code
GET
/
v2
/
orgs
/
{orgSlug}
/
invites
/
{inviteCode}
Get Org Invite
curl --request GET \
--url https://api.studio.prisme.ai/v2/orgs/{orgSlug}/invites/{inviteCode} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/orgs/{orgSlug}/invites/{inviteCode}', 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}/invites/{inviteCode}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orgSlug": "<string>",
"status": "active",
"id": "<string>",
"code": "<string>",
"roleSlug": "<string>",
"usedCount": 123,
"createdBy": "<string>",
"revokedAt": "<string>",
"revokedBy": "<string>",
"createdAt": "<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.
Was this page helpful?