Skip to main content
POST
Anonymous Auth

Body

application/json
expiresAfter
number

Optional session expiration in seconds

orgSlug
string

Optional organization slug. When provided, the org must have auth.anonymous.enabled = true. The resulting session will be scoped to that org with the role configured in org.auth.anonymous.role.

Response

Success Response

firstName
string
required

Name

sessionId
string
required
email
string
Example:

"foo@prisme.ai"

status
enum<string>
Available options:
pending,
validated,
deactivated
language
string
authData
object
mfa
enum<string>

Current MFA method (super admin only).

Available options:
totp,
none,
*
meta
object
orgSlugs
string[]
platformRole
string
groupAcls
object
createdAt
string
updatedAt
string
updatedBy
string
lastName
string

Name

emailMasked
string

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.

photo
string

Profile picture URL

groups
string[]
identities
string[]

Denormalized ":" tuples (super admin only).

membership
object

Organization membership info (only returned when includeOrgMembership is set)

id
string

Unique id

expires
string