KeyAuth
KeyAuth Website
Socials
  • KeyAuth Discord
  • KeyAuth Telegram
  • KeyAuth YouTube
KeyAuth Website
Socials
  • KeyAuth Discord
  • KeyAuth Telegram
  • KeyAuth YouTube
  1. License
  • Overview
    • Security Pratices
    • Premade Examples - SDKS
    • QnA
    • Rate Limiting
  • API
    • Getting Started
      • License
        • License Login
          GET
        • Redeem License (Upgrade)
          GET
      • ⚠️ Initialization ⚠️
        GET
      • Login
        GET
      • Logout
        GET
      • Register
        GET
    • Features
      • Chatroom/Messages
        • Retrieve Messages
        • Send Message
      • User Variables
        • Retrieve User Variables
        • Set User Variable
      • Ban User
      • Check Blacklist
      • Check Session
      • Disable 2FA
      • Change Username
      • Download File
      • Enable 2FA
      • Fetch Online Users
      • Forgot Password
      • ⚠️ Fetch Stats ⚠️
      • Log
      • Webhook
      • Retrieve Global Variable
    • Displaying Data
      • Displaying Data
  • Seller API
    • Application Settings
      • Add Application Hash
      • Edit Application Settings
      • Retrieve Application Details
      • Retrieve Current Application Settings
      • Retrieve Stats
      • Pause Application
      • Reset Application hash
      • Unpause Application
    • Blacklists
      • Create New Blacklist
      • Delete An Existing Blacklist
      • Delete All Blacklists
      • Retrieve All Blacklists
    • Chats
      • Create A New Chat Channel
      • Delete Channel Messages
      • Delete Existing Chat Channel
      • Edit Existing Chat Channel
      • Retrieve All Mutes
      • Retrieve All Chat Channels
      • Mute A User
      • Unmute A User
    • Files
      • Delete Existing File
      • Delete All Files
      • Retrieve All Existing Files
      • Retrieve An Existing File
      • Edit An Existing File
      • Upload A New File
    • Global Variables
      • Create A New Global Variable
      • Delete Global Variable
      • Delete All Global Variables
      • Edit Existing Global Variable
      • Retrieve All Global Variables
      • Retrieve An Existing Global Variable
    • Licenses
      • Add Time To All Unused Licenses
      • Assign A License To A User
      • Ban License
      • Create A New License
      • Create A New User Using A License
      • Delete All Licenses
      • Delete An Existing License
      • Delete Multiple Licenses
      • Delete All Used Licenses
      • Delete All Unused Licenses
      • Retrieve All Licenses
      • Retrieve License Information
      • Set Note On Existing License
      • Unban A License
      • Verify License Exists
    • Logs
      • Retrieve All Logs
      • Delete All Logs
    • Sessions
      • End Selected Session
      • End All Sessions
      • Retrieve All Sessions
    • Subscriptions
      • Create A New Subscription
      • Delete An Existing Subscription
      • Edit An Existing Subscription
      • Retrieve All Subscriptions
      • Pause An Existing Subscription
      • Unpause An Existing Subscription
    • Users
      • Add An HWID To An Existing User
      • Ban User
      • Create A New User
      • Change Users Password
      • Change Users Email
      • Change User's Username
      • Delete An Existing User
      • Delete All Expired Users
      • Delete A Users Variable
      • Delete All User Variables Using The Variable Name
      • Delete A Users Subscription
      • Delete All Users
      • Extend Users Expiration
      • Pause A User
      • Retrieve All Users
      • Retrieve All User's Variables
      • Retrieve All Usernames
      • Retrieve All Users Subscriptions
      • Retrieve License From User
      • Retrieve User Variable Data
      • Reset A Users HWID
      • Reset All Users HWID
      • Retrieve User Data
      • Set A User Variable
      • Subtract Time From A Users Expiration
      • Set Users HWID Reset Cooldown Duration
      • Unban A User
      • Unpause A User
      • Verify A User Exists
    • Webhooks
      • Create A New Webhook
      • Delete All Webhooks
      • Delete Webhook
      • Retrieve All Webhooks
    • Web Loader
      • Create A New Web Loader Button
      • Delete A Web Loader Button
      • Delete All Web Loader Buttons
      • Retrieve All Web Loader Buttons
    • Whitelists
      • Add IP To Whitelist
      • Delete All Whitelists
      • Delete Existing IP Whitelist
    • Reseller/Manager Accounts
      • Add Balance To Reseller
      • Create A New Reseller/Manager Account
      • Delete A Reseller or Manager Account
      • Retrieve All Resellers and Managers
      • Retrieve Balance From Reseller
  • Custom Domain Setup
    • Custom Domain (API)
  1. License

License Login

GET
https://keyauth.win/api/1.3/
Register and log in with just a license. Once the license is used for the first time, users will only need to use the license to access the application.
INFO
In order for this to work properly, the license must be unused. After using it for the first time it will "register" the user, and then turn the license into a user (you will be able to see it on the users page of the website). Every time after you attempt to log in, it will just log in normally.

Request

Query Params
type
string 
required
The type of request. (license)
Example:
license
key
string 
required
The key being used to login/register
Example:
{key}
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 using the key.
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=license&key={key}&sessionid={sessionid}&name={name}&ownerid={ownerid}&hwid={hwid}&code={code}'

Responses

🟢200Success
application/json
Body
object {0}
Example
KeyAuthApp.license("License");
if (KeyAuthApp.response.success){
    //successfully logged in OR registered
} else {
    // failed to login OR register
}
Modified at 2025-03-29 20:54:20
Previous
Rate Limiting
Next
Redeem License (Upgrade)
Built with