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

Redeem License (Upgrade)

GET
https://keyauth.win/api/1.3/
Assign an unused license to a user.
⚠️Do not log the user in after a successful upgrade, the upgrade endpoint is simply for a user to activate a key on their account. There's no password verification, so it would be unsafe for you to log the user in because all the user needs is an account username and valid key.⚠️

Request

Query Params
type
string 
required
The type of request. (upgrade)
Example:
upgrade
username
string 
required
The username of the username that is having a key assigned
key
string 
required
The key that is being assigned to the user
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
name
string 
required
The name of the application
ownerid
string 
required
Your owner ID

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 --request GET 'https://keyauth.win/api/1.3/?type=upgrade&username=&key=&sessionid=&name=&ownerid='

Responses

🟢200Success
application/json
Body
object {0}
Example
{
  "success": true,
  "message": "Upgraded successfully",
  "nonce": ""
}
🟠400Failure
🔴500Server Error
Previous
License Login
Next
⚠️ Initialization ⚠️
Built with