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>
Available options:
totp,
none,
*
meta
object
orgSlugs
string[]
platformRole
string
groupAcls
object
createdAt
string
updatedAt
string
updatedBy
string
lastName
string

Name

photo
string

Profile picture URL

groups
string[]
membership
object

Organization membership info (only returned when includeOrgMembership is set)

id
string

Unique id

expires
string