Anonymous Auth
curl --request POST \
--url https://api.studio.prisme.ai/v2/login/anonymous \
--header 'Content-Type: application/json' \
--data '
{
"expiresAfter": 123,
"orgSlug": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({expiresAfter: 123, orgSlug: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/login/anonymous', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login/anonymous"
payload = {
"expiresAfter": 123,
"orgSlug": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"firstName": "<string>",
"sessionId": "<string>",
"email": "foo@prisme.ai",
"status": "pending",
"language": "<string>",
"authData": {
"anonymous": {},
"prismeai": {},
"azure": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"language": "<unknown>"
}
},
"mfa": "totp",
"meta": {},
"orgSlugs": [
"<string>"
],
"platformRole": "<string>",
"groupAcls": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"updatedBy": "<string>",
"lastName": "<string>",
"emailMasked": "<string>",
"photo": "<string>",
"groups": [
"<string>"
],
"identities": [
"<string>"
],
"membership": {
"roleSlug": "<string>",
"status": "active",
"joinedAt": "<string>",
"joinedVia": "direct",
"invitedAt": "<string>",
"invitedBy": "<string>"
},
"id": "<string>",
"expires": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}API Gateway
Anonymous Auth
Anonymous authentication
POST
/
v2
/
login
/
anonymous
Anonymous Auth
curl --request POST \
--url https://api.studio.prisme.ai/v2/login/anonymous \
--header 'Content-Type: application/json' \
--data '
{
"expiresAfter": 123,
"orgSlug": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({expiresAfter: 123, orgSlug: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/login/anonymous', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login/anonymous"
payload = {
"expiresAfter": 123,
"orgSlug": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"firstName": "<string>",
"sessionId": "<string>",
"email": "foo@prisme.ai",
"status": "pending",
"language": "<string>",
"authData": {
"anonymous": {},
"prismeai": {},
"azure": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"language": "<unknown>"
}
},
"mfa": "totp",
"meta": {},
"orgSlugs": [
"<string>"
],
"platformRole": "<string>",
"groupAcls": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"updatedBy": "<string>",
"lastName": "<string>",
"emailMasked": "<string>",
"photo": "<string>",
"groups": [
"<string>"
],
"identities": [
"<string>"
],
"membership": {
"roleSlug": "<string>",
"status": "active",
"joinedAt": "<string>",
"joinedVia": "direct",
"invitedAt": "<string>",
"invitedBy": "<string>"
},
"id": "<string>",
"expires": "<string>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Body
application/json
Response
Success Response
Name
Example:
"foo@prisme.ai"
Available options:
pending, validated, deactivated Current MFA method (super admin only).
Available options:
totp, none, * Name
Partially masked email (e.g. "j***@acme.com"), returned to non-elevated callers in place of the clear-text email to disambiguate homonyms without exposing the full address.
Profile picture URL
Denormalized ":" tuples (super admin only).
Organization membership info (only returned when includeOrgMembership is set)
Hide child attributes
Hide child attributes
Unique id
Was this page helpful?