Skip to main content

AuthenticatorType

The type of authenticator
ValueDescription
0Time-based one-time password authenticator
1SMS-based authenticator
2WebAuthn authenticator

AuthLoginResponse

Related endpoints Type: AuthTokenWithUserIdResponse | AuthMfaRequiredResponse

AuthMfaRequiredResponse

FieldTypeDescription
allowed_methodsstring[]List of allowed MFA methods
mfaenum<true>Indicates MFA is required to complete authentication
smsbooleanWhether SMS MFA is available
sms_phone_hint??stringMasked phone number hint for SMS MFA
ticketstringMFA ticket to use when completing MFA verification
totpbooleanWhether TOTP authenticator MFA is available
webauthnbooleanWhether WebAuthn security key MFA is available

AuthorizeIpRequest

Related endpoints
FieldTypeDescription
tokenstringThe IP authorization token from email

AuthRegisterResponse

Related endpoints Type: AuthTokenWithUserIdResponse | AuthMfaRequiredResponse

AuthSessionClientInfo

FieldTypeDescription
browser??stringThe browser reported by the client
location??AuthSessionLocationThe geolocation data sent by the client
os??stringThe operating system reported by the client
platform??stringThe platform reported by the client

AuthSessionLocation

FieldTypeDescription
city??stringThe city name reported by the client
country??stringThe country reported by the client
region??stringThe region reported by the client

AuthSessionResponse

FieldTypeDescription
approx_last_used_at??string (date-time)Approximate timestamp of the last session activity
client_info??AuthSessionClientInfoClient metadata recorded for this session
currentbooleanWhether this is the current session making the request
id_hashSnowflakeTypeThe base64url-encoded session id hash

AuthSessionsResponse

Related endpoints Type: AuthSessionResponse[]

AuthTokenWithUserIdResponse

Related endpoints
FieldTypeDescription
tokenstringAuthentication token for API requests
user_idSnowflakeTypeID of the authenticated user

EmailRevertRequest

Related endpoints
FieldTypeDescription
passwordPasswordType
tokenstringEmail revert token from email

ForgotPasswordRequest

Related endpoints
FieldTypeDescription
emailEmailType

HandoffCompleteRequest

Related endpoints
FieldTypeDescription
codestringThe handoff code from the initiating session
tokenstringThe authentication token to transfer
user_idSnowflakeTypeThe user ID associated with the token

HandoffInitiateResponse

Related endpoints
FieldTypeDescription
codestringHandoff code to share with the receiving device
expires_atstring (date-time)ISO 8601 timestamp when the handoff code expires

HandoffStatusResponse

Related endpoints
FieldTypeDescription
statusstringCurrent status of the handoff (pending, completed, expired)
token??stringAuthentication token if handoff is complete
user_id??SnowflakeTypeUser ID if handoff is complete

IpAuthorizationPollResponse

Related endpoints
FieldTypeDescription
completedbooleanWhether the IP authorization has been completed
token??stringAuthentication token if authorization is complete
user_id??SnowflakeTypeUser ID if authorization is complete

LoginRequest

Related endpoints
FieldTypeDescription
emailEmailType
invite_code??stringGuild invite code to join after login
passwordPasswordType

LogoutAuthSessionsRequest

Related endpoints
FieldTypeDescription
password?PasswordType
session_id_hashesSnowflakeType[]Array of session ID hashes to log out (max 100)

MfaBackupCodeResponse

FieldTypeDescription
codestringThe backup code
consumedbooleanWhether the code has been used

MfaSmsRequest

Related endpoints
FieldTypeDescription
codestringThe SMS verification code
ticketstringThe MFA ticket from the login response

MfaTicketRequest

Related endpoints
FieldTypeDescription
ticketstringThe MFA ticket from the login response

MfaTotpRequest

Related endpoints
FieldTypeDescription
codestringThe TOTP code from the authenticator app
ticketstringThe MFA ticket from the login response

RegisterRequest

Related endpoints
FieldTypeDescription
consentbooleanWhether user consents to terms of service
date_of_birthstringDate of birth in YYYY-MM-DD format
email?EmailType
global_name?stringDisplay name shown to other users
invite_code??stringGuild invite code to join after registration
password?PasswordType
username?UsernameType

ResetPasswordRequest

Related endpoints
FieldTypeDescription
passwordPasswordType
tokenstringPassword reset token from email

SsoCompleteRequest

Related endpoints
FieldTypeDescription
codestringAuthorization code from the SSO provider
statestringState parameter for CSRF protection

SsoCompleteResponse

Related endpoints
FieldTypeDescription
redirect_tostringURL to redirect the user to after completion
tokenstringAuthentication token for the session
user_idSnowflakeTypeID of the authenticated user

SsoConfigResponse

FieldTypeDescription
allowed_domainsstring[]
authorization_url?string
auto_provisionboolean
client_id?SnowflakeType
client_secret_setboolean
display_name?string
enabledboolean
issuer?string
jwks_url?string
redirect_uri?string
scope?string
token_url?string
userinfo_url?string

SsoStartRequest

Related endpoints
FieldTypeDescription
redirect_to??stringURL to redirect to after SSO completion

SsoStartResponse

Related endpoints
FieldTypeDescription
authorization_urlstringURL to redirect user to for SSO authentication
redirect_uristringRedirect URI after SSO completion
statestringState parameter for CSRF protection

SsoStatusResponse

Related endpoints
FieldTypeDescription
display_name?stringDisplay name of the SSO provider
enabledbooleanWhether SSO is enabled for this instance
enforcedbooleanWhether SSO is required for all users
redirect_uristringOAuth redirect URI for SSO

UsernameSuggestionsRequest

Related endpoints
FieldTypeDescription
global_namestringDisplay name to generate username suggestions from

UsernameSuggestionsResponse

Related endpoints
FieldTypeDescription
suggestionsstring[]List of suggested usernames

VerifyEmailRequest

Related endpoints
FieldTypeDescription
tokenstringEmail verification token from email

WebAuthnAuthenticateRequest

Related endpoints
FieldTypeDescription
challengestringThe challenge string from authentication options
responseJSON valueWebAuthn authentication response

WebAuthnAuthenticationOptionsResponse

Related endpoints Type: JSON value

WebAuthnCredentialResponse

FieldTypeDescription
created_atstringWhen the credential was registered
idSnowflakeTypeThe credential ID
last_used_at?stringWhen the credential was last used
namestringUser-assigned name for the credential

WebAuthnMfaRequest

Related endpoints
FieldTypeDescription
challengestringThe challenge string from authentication options
responseJSON valueWebAuthn authentication response
ticketstringThe MFA ticket from the login response