Everstack
Api referenceAuth

Auth

Auth API endpoints

Auth API

MethodEndpointDescription
POST/v1/auth/accept-inviteAcceptInvitation accepts a team invitation and sets up the user account
POST/v1/auth/authenticateAuthenticate exchanges an OAuth code for a session (Cloud only)
POST/v1/auth/inviteInviteTeamMember sends an invitation to join the team (checks seat limit)
DELETE/v1/auth/invite/{invitationId}RevokeInvitation revokes a pending invitation
POST/v1/auth/loginLogin authenticates with email and password - Self-hosted only
POST/v1/auth/magic-linkRequestMagicLink sends a magic link email for passwordless login - Self-hosted only
GET/v1/auth/modeGetAuthMode returns the authentication mode (cloud vs self-hosted)
POST/v1/auth/refreshRefreshSession extends the current session
POST/v1/auth/registerRegister creates the first admin user (becomes instance owner) - Self-hosted only
GET/v1/auth/sessionGetSession returns the current user session if authenticated
POST/v1/auth/signoutSignOut invalidates the current session
POST/v1/auth/sso-urlGetAuthURL returns the SSO provider URL for sign-in redirect (Cloud only)
GET/v1/auth/teamListTeamMembers returns all team members and pending invitations
DELETE/v1/auth/team/{userId}RemoveTeamMember removes a user from the team
POST/v1/auth/verify-magic-linkVerifyMagicLink verifies a magic link token and creates a session - Self-hosted only

On this page