Log into the application using a username and password.
Request
Query Params
type
string
required
The type of request. (login)
Example:
login
username
string
required
The username of the user logging in
Example:
{username}
pass
string
required
The password of the user logging in
Example:
{pass}
sessionid
string
required
The session ID of the user logging in. Obtained by initializing on the application first and finding the session by visiting https://keyauth.cc/app/?page=sessions
Example:
{sessionid}
name
string
required
The name of the application
Example:
{name}
ownerid
string
required
Your owner ID
Example:
{ownerid}
hwid
string
optional
The HWID of the user logging in
Example:
{hwid}
code
string
optional
6 Digit Two Factor Authentication code if you enabled 2fa
Example:
{code}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'https://keyauth.win/api/1.3/?type=login&username={username}&pass={pass}&sessionid={sessionid}&name={name}&ownerid={ownerid}&hwid={hwid}&code={code}'