SignIn
Sign in with email and password. Request:auth.SignIn → Response: auth.Authorization
User’s email address
User’s password
SignUp
Register a new account. Request:auth.SignUp → Response: auth.Authorization
Optional email address
Optional password
Display name for the user
Authorize
Re-authenticate using an existing token. Request:auth.Authorize → Response: auth.Authorization
Previously issued authentication token
Authorization
Response for successful authentication.JWT or session token for subsequent requests
Complete user object
Snowflake ID of the created session
GetSessions
Retrieve all active sessions. Request:auth.GetSessions → Response: auth.Sessions
No parameters.
Sessions
Array of all active sessions
Snowflake ID of the current session
Session
Snowflake session ID
Client identifier
Device type (e.g., “web”, “mobile”)
Device OS version
Application name
Application version
Unix timestamp of last activity
Country code (optional)
Region/state (optional)
RevokeSessions
Terminate one or more sessions. Request:auth.RevokeSessions → Response: ()
Array of session snowflake IDs to revoke
ResetPassword
Initiate or confirm password reset. Request:auth.ResetPassword → Response: ()
Email address to send reset code
Optional confirmation with code and new password
ResetPasswordConfirm
Verification code from email
New password to set
VerifyEmail
Verify email address with code. Request:auth.VerifyEmail → Response: ()
Email address to verify
Verification code from email
ResendEmailVerification
Resend verification email. Request:auth.ResendEmailVerification → Response: ()
Optional email (uses current user’s email if omitted)
LookupInvite
Preview an invite before accepting. Request:auth.LookupInvite → Response: auth.InvitePreview
Invite code to look up
CreatedInvite
Response when creating invites.The generated invite code
InviteType
Enum for invite target types.Unknown type
Invite to a community
Invite to a group chat
Invite to add a user as a friend
InvitePreview
The invite code
Snowflake ID of the user who created the invite
Snowflake ID of the target (community/group/user)
Type of the invite target
Unix timestamp when invite expires (optional)
User object of invite creator (optional)
One of:
community (types.Community), chat (types.Group), or user (types.User)UseInvite
Accept and use an invite. Request:auth.UseInvite → Response: ()
Invite code to accept
InviteList
Array of invite previews