### Upload A New File Source: https://keyauthdocs.apidog.io/llms.txt Upload a new file. Files must end in an extension (.exe, .rar for example). This endpoint is part of the Files section of the Seller API. ```APIDOC ## POST /v1/files/upload ### Description Upload a new file. Files must end in an extension (.exe, .rar for example). ### Method POST ### Endpoint /v1/files/upload ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. #### Request Body - **fileName** (string) - Required - The name of the file to upload. - **fileContent** (string) - Required - The content of the file (base64 encoded). ### Response #### Success Response (200) - **message** (string) - A success message indicating the file has been uploaded. ``` -------------------------------- ### Create A New User Source: https://keyauthdocs.apidog.io/llms.txt Creates a new user account within the KeyAuth system. This is the initial step for onboarding new users. ```APIDOC ## POST /users/create-new-user ### Description Creates a new user. ### Method POST ### Endpoint /users/create-new-user ### Parameters #### Request Body - **username**: (string) - Required - The desired username for the new user. - **email**: (string) - Required - The email address for the new user. - **password**: (string) - Required - The password for the new user. - **hwid**: (string) - Optional - The initial HWID to associate with the user. - **subscription**: (string) - Optional - The subscription to assign to the new user. ``` -------------------------------- ### Create A New User Using A License Source: https://keyauthdocs.apidog.io/llms.txt Creates a new user and assigns an existing license to them. ```APIDOC ## POST /v1/users/create-from-license ### Description Creates a new user using an existing license. ### Method POST ### Endpoint /v1/users/create-from-license ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **license** (string) - Required - The license key to use for the new user. - **username** (string) - Required - The username for the new user. ### Response #### Success Response (200) - **message** (string) - A success message indicating the user was created and assigned the license. ``` -------------------------------- ### Create A New Webloader Source: https://keyauthdocs.apidog.io/llms.txt Creates a new web loader button for the seller's website. ```APIDOC ## POST /sellerapi/webloader/create-new-webloader ### Description Create a new web loader button. ### Method POST ### Endpoint /sellerapi/webloader/create-new-webloader ### Parameters #### Request Body - **settings** (object) - Required - Configuration settings for the web loader button. - **color** (string) - Optional - The color of the button. - **position** (string) - Optional - The position of the button on the page. ### Response #### Success Response (200) - **id** (string) - The ID of the newly created web loader button. - **settings** (object) - The configuration settings of the web loader button. #### Response Example { "id": "wlb_abcdef1234", "settings": { "color": "#007bff", "position": "bottom-right" } } ``` -------------------------------- ### KeyAuth - License Login Source: https://keyauthdocs.apidog.io/llms.txt 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. ```APIDOC ## POST /api/getting-started/license/license-login ### Description Registers and logs in a user using a license key. Subsequent accesses only require the license key. ### Method POST ### Endpoint /api/getting-started/license/license-login ### Parameters #### Request Body - **license** (string) - Required - The user's license key. ``` -------------------------------- ### Upgrade Source: https://keyauthdocs.apidog.io/llms.txt Gives the users a subscription that has the same level as the key. ```APIDOC ## POST /api/getting-started/upgrade ### Description Upgrades the user's subscription to match the level of their associated key. ### Method POST ### Endpoint /api/getting-started/upgrade ### Parameters #### Request Body - **key** (string) - Required - The key associated with the subscription level. ``` -------------------------------- ### KeyAuth - Fetch Stats Source: https://keyauthdocs.apidog.io/llms.txt Run this function first to retrieve all stored stats. ```APIDOC ## GET /api/features/fetch-stats ### Description Retrieves all stored statistics for the application. ### Method GET ### Endpoint /api/features/fetch-stats ``` -------------------------------- ### KeyAuth - Login with user/pass Source: https://keyauthdocs.apidog.io/llms.txt Log into the application using a username and password. ```APIDOC ## POST /api/getting-started/login ### Description Authenticates a user using their username and password. ### Method POST ### Endpoint /api/getting-started/login ### Parameters #### Request Body - **username** (string) - Required - The user's username. - **password** (string) - Required - The user's password. ``` -------------------------------- ### KeyAuth - Download File Source: https://keyauthdocs.apidog.io/llms.txt Allow users to downloaded files. ```APIDOC ## GET /api/features/download-file ### Description Provides a mechanism for users to download files. ### Method GET ### Endpoint /api/features/download-file ### Parameters #### Query Parameters - **file_id** (string) - Required - The identifier of the file to download. ``` -------------------------------- ### Enable 2FA Source: https://keyauthdocs.apidog.io/llms.txt Enable Two Factor Authentication(2fa) on a client account. ```APIDOC ## POST /api/features/enable2fa ### Description Enables Two-Factor Authentication for the authenticated user's account. ### Method POST ### Endpoint /api/features/enable2fa ### Parameters #### Request Body - **secret** (string) - Required - The 2FA secret key. ``` -------------------------------- ### KeyAuth - Login with email/pass Source: https://keyauthdocs.apidog.io/llms.txt Log into the application using a email and password. ```APIDOC ## POST /api/getting-started/loginemail ### Description Authenticates a user using their email address and password. ### Method POST ### Endpoint /api/getting-started/loginemail ### Parameters #### Request Body - **email** (string) - Required - The user's email address. - **password** (string) - Required - The user's password. ``` -------------------------------- ### KeyAuth - Register Source: https://keyauthdocs.apidog.io/llms.txt Register an account using a username, password, license, and email (optional) ```APIDOC ## POST /api/getting-started/register ### Description Creates a new user account. ### Method POST ### Endpoint /api/getting-started/register ### Parameters #### Request Body - **username** (string) - Required - The desired username. - **password** (string) - Required - The user's password. - **license** (string) - Required - The license key for the account. - **email** (string) - Optional - The user's email address. ``` -------------------------------- ### KeyAuth - Retrieve Application Details Source: https://keyauthdocs.apidog.io/llms.txt Retrieve the information from an application ```APIDOC ## GET /sellerapi/application-settings/retrieve-application-details ### Description Retrieves detailed information about a specific application. ### Method GET ### Endpoint /sellerapi/application-settings/retrieve-application-details ### Parameters #### Query Parameters - **app_id** (string) - Required - The ID of the application. ``` -------------------------------- ### KeyAuth - Redeem license (upgrade) Source: https://keyauthdocs.apidog.io/llms.txt Assign an unused license to a user. ```APIDOC ## POST /api/getting-started/license/redeem-license ### Description Assigns an available license to a user. ### Method POST ### Endpoint /api/getting-started/license/redeem-license ### Parameters #### Request Body - **license** (string) - Required - The license key to redeem. - **username** (string) - Required - The username to assign the license to. ``` -------------------------------- ### Create A New Reseller Or Manager Source: https://keyauthdocs.apidog.io/llms.txt Creates a new reseller or manager account. ```APIDOC ## POST /sellerapi/reseller-manager/create-new-reseller-manager ### Description Create a new reseller or manager account. ### Method POST ### Endpoint /sellerapi/reseller-manager/create-new-reseller-manager ### Parameters #### Request Body - **username** (string) - Required - The username for the new account. - **password** (string) - Required - The password for the new account. - **role** (string) - Required - The role of the account ('reseller' or 'manager'). ### Response #### Success Response (200) - **message** (string) - Confirmation message indicating the account has been created. - **account_id** (string) - The ID of the newly created account. #### Response Example { "message": "Reseller account created successfully.", "account_id": "res_xyz789" } ``` -------------------------------- ### KeyAuth - Log Source: https://keyauthdocs.apidog.io/llms.txt Log events from your application. ```APIDOC ## POST /api/features/log ### Description Logs a specified event from the application. ### Method POST ### Endpoint /api/features/log ### Parameters #### Request Body - **event** (string) - Required - The event to log. - **details** (string) - Optional - Additional details about the event. ``` -------------------------------- ### Create A New Subscription Source: https://keyauthdocs.apidog.io/llms.txt Creates a new subscription plan for the application. ```APIDOC ## POST /v1/subscriptions/create ### Description Creates a new subscription. ### Method POST ### Endpoint /v1/subscriptions/create ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **name** (string) - Required - The name of the subscription. - **price** (float) - Required - The price of the subscription. - **days** (integer) - Required - The duration of the subscription in days. ### Response #### Success Response (200) - **message** (string) - A success message indicating the subscription was created. ``` -------------------------------- ### Retrieve All Webhooks Source: https://keyauthdocs.apidog.io/llms.txt Retrieves a list of all configured webhooks for the seller account. ```APIDOC ## GET /sellerapi/webhooks/retrieve-all-webhooks ### Description Retrieve All Webhooks. ### Method GET ### Endpoint /sellerapi/webhooks/retrieve-all-webhooks ### Response #### Success Response (200) - **webhooks** (array) - A list of webhook objects. - **id** (string) - The ID of the webhook. - **url** (string) - The URL of the webhook. - **event** (string) - The event associated with the webhook. #### Response Example { "webhooks": [ { "id": "whk_12345abcde", "url": "https://example.com/webhook1", "event": "order.created" }, { "id": "whk_67890fghij", "url": "https://example.com/webhook2", "event": "user.registered" } ] } ``` -------------------------------- ### Retrieve All Subscriptions Source: https://keyauthdocs.apidog.io/llms.txt Retrieves all available subscription plans. ```APIDOC ## GET /v1/subscriptions ### Description Retrieves all subscriptions. ### Method GET ### Endpoint /v1/subscriptions ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **subscriptions** (array) - An array of subscription objects. ``` -------------------------------- ### Verify License Exists Source: https://keyauthdocs.apidog.io/llms.txt Verifies if a license exists for a given application. ```APIDOC ## GET /v1/licenses/exists/{license_key} ### Description Verifies the existence of a license on an application. ### Method GET ### Endpoint /v1/licenses/exists/{license_key} ### Parameters #### Path Parameters - **license_key** (string) - Required - The license key to verify. #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **exists** (boolean) - True if the license exists, false otherwise. ``` -------------------------------- ### Retrieve All Web Loader Buttons Source: https://keyauthdocs.apidog.io/llms.txt Retrieves a list of all configured web loader buttons. ```APIDOC ## GET /sellerapi/webloader/retrieve-web-loader-buttons ### Description Retrieve all web loader buttons. ### Method GET ### Endpoint /sellerapi/webloader/retrieve-web-loader-buttons ### Response #### Success Response (200) - **webloaders** (array) - A list of web loader button objects. - **id** (string) - The ID of the web loader button. - **settings** (object) - The configuration settings of the web loader button. #### Response Example { "webloaders": [ { "id": "wlb_abcdef1234", "settings": { "color": "#007bff", "position": "bottom-right" } }, { "id": "wlb_56789efghi", "settings": { "color": "#28a745", "position": "top-left" } } ] } ``` -------------------------------- ### Create New License Source: https://keyauthdocs.apidog.io/llms.txt Creates a new license for an application. ```APIDOC ## POST /v1/licenses/create ### Description Creates a new license. ### Method POST ### Endpoint /v1/licenses/create ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **expiry** (integer) - Optional - The expiration time in minutes for the license. If not provided, the license will not expire. - **maxUses** (integer) - Optional - The maximum number of times the license can be used. If not provided, there is no limit. ### Response #### Success Response (200) - **license** (string) - The newly created license key. ``` -------------------------------- ### Create A New Webhook Source: https://keyauthdocs.apidog.io/llms.txt Allows the creation of a new webhook for the seller account. ```APIDOC ## POST /sellerapi/webhooks/create-new-webhook ### Description Create a new webhook. ### Method POST ### Endpoint /sellerapi/webhooks/create-new-webhook ### Parameters #### Request Body - **url** (string) - Required - The URL to send webhook events to. - **event** (string) - Required - The event to trigger the webhook. ### Response #### Success Response (200) - **id** (string) - The ID of the newly created webhook. - **url** (string) - The URL of the webhook. - **event** (string) - The event associated with the webhook. #### Response Example { "id": "whk_12345abcde", "url": "https://example.com/webhook", "event": "order.created" } ``` -------------------------------- ### KeyAuth - Retrieve Global Variable Source: https://keyauthdocs.apidog.io/llms.txt Retrieve a global variable. ```APIDOC ## GET /api/features/retrieve-global-variable ### Description Retrieves the value of a global variable. ### Method GET ### Endpoint /api/features/retrieve-global-variable ### Parameters #### Query Parameters - **variable_name** (string) - Required - The name of the global variable to retrieve. ``` -------------------------------- ### Retrieve All Licenses Source: https://keyauthdocs.apidog.io/llms.txt Retrieves all licenses associated with the application. ```APIDOC ## GET /v1/licenses ### Description Retrieves all licenses. ### Method GET ### Endpoint /v1/licenses ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **licenses** (array) - An array of license objects. ``` -------------------------------- ### KeyAuth - Check Blacklist Source: https://keyauthdocs.apidog.io/llms.txt Check if the user is blacklisted or not. ```APIDOC ## GET /api/features/check-blacklist ### Description Checks if the current user is on the blacklist. ### Method GET ### Endpoint /api/features/check-blacklist ``` -------------------------------- ### Retrieve All Files Source: https://keyauthdocs.apidog.io/llms.txt Retrieve all existing files on an application. This endpoint is part of the Files section of the Seller API. ```APIDOC ## GET /v1/files ### Description Retrieve all existing files on an application. ### Method GET ### Endpoint /v1/files ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **files** (array) - An array of file objects. - **name** (string) - The name of the file. - **size** (integer) - The size of the file in bytes. - **lastModified** (string) - The timestamp of the last modification. ``` -------------------------------- ### Retrieve All Users Source: https://keyauthdocs.apidog.io/llms.txt Fetches a list of all users currently registered in the system. This can be useful for administrative overviews. ```APIDOC ## GET /users/retrieve-all-users ### Description Retrieves all users. ### Method GET ### Endpoint /users/retrieve-all-users ``` -------------------------------- ### Retrieve All Global Variables Source: https://keyauthdocs.apidog.io/llms.txt Retrieves all global variables associated with the seller account. ```APIDOC ## GET /v1/global-variables ### Description Retrieves all global variables. ### Method GET ### Endpoint /v1/global-variables ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **variables** (object) - An object containing all global variables. ``` -------------------------------- ### Add IP To Whitelist Source: https://keyauthdocs.apidog.io/llms.txt Adds a new IP address to the whitelist. ```APIDOC ## POST /sellerapi/whitelists/add-ip-to-whitelist ### Description Add a new IP to the whitelist. ### Method POST ### Endpoint /sellerapi/whitelists/add-ip-to-whitelist ### Parameters #### Request Body - **ip_address** (string) - Required - The IP address to add to the whitelist. ### Response #### Success Response (200) - **message** (string) - Confirmation message indicating the IP address has been added to the whitelist. #### Response Example { "message": "IP address 192.168.1.100 has been added to the whitelist." } ``` -------------------------------- ### KeyAuth - Edit Application Settings Source: https://keyauthdocs.apidog.io/llms.txt Edit an applications settings (app version, permissions, custom responses etc) ```APIDOC ## PUT /sellerapi/application-settings/edit-application-settings ### Description Modifies the settings of an application, including version, permissions, and custom responses. ### Method PUT ### Endpoint /sellerapi/application-settings/edit-application-settings ### Parameters #### Request Body - **app_id** (string) - Required - The ID of the application. - **app_version** (string) - Optional - The new application version. - **permissions** (array) - Optional - A list of permissions to set. - **custom_responses** (object) - Optional - Custom response configurations. ``` -------------------------------- ### Retrieve Current Application Settings Source: https://keyauthdocs.apidog.io/llms.txt Retrieves the current application settings. This endpoint is part of the Application Settings section of the Seller API. ```APIDOC ## GET /v1/settings ### Description Retrieve the current application settings. ### Method GET ### Endpoint /v1/settings ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **name** (string) - The name of the application. - **ownerid** (string) - The owner ID of the application. - **hash** (string) - The hash of the application. - **pause** (boolean) - Indicates if the application is paused. - **maxUsers** (integer) - The maximum number of users allowed for the application. - **maxOnlineUsers** (integer) - The maximum number of online users allowed for the application. - **maxKeys** (integer) - The maximum number of keys allowed for the application. - **maxOnlineKeys** (integer) - The maximum number of online keys allowed for the application. - **lastLogin** (string) - The timestamp of the last login. - **createdAt** (string) - The timestamp when the application was created. - **updatedAt** (string) - The timestamp when the application was last updated. ``` -------------------------------- ### KeyAuth - Webhook Source: https://keyauthdocs.apidog.io/llms.txt Send requests securely from KeyAuth server ```APIDOC ## POST /api/features/webhook ### Description Sends a secure request from the KeyAuth server to a specified webhook endpoint. ### Method POST ### Endpoint /api/features/webhook ### Parameters #### Request Body - **url** (string) - Required - The URL of the webhook endpoint. - **payload** (object) - Required - The data to send in the webhook request. ``` -------------------------------- ### KeyAuth - Check Session Source: https://keyauthdocs.apidog.io/llms.txt Check to see if a session is valid or not ```APIDOC ## GET /api/features/check-session ### Description Validates the current user's session. ### Method GET ### Endpoint /api/features/check-session ``` -------------------------------- ### KeyAuth - Fetch Online Users Source: https://keyauthdocs.apidog.io/llms.txt Fetch all online users. (active sessions) ```APIDOC ## GET /api/features/fetch-online-users ### Description Retrieves a list of all currently active user sessions. ### Method GET ### Endpoint /api/features/fetch-online-users ``` -------------------------------- ### Retrieve License From User Source: https://keyauthdocs.apidog.io/llms.txt Fetches the license information currently assigned to a specific user. This is useful for license management and verification. ```APIDOC ## GET /users/retrieve-license-from-user ### Description Retrieves the license that is currently assigned to a user. ### Method GET ### Endpoint /users/retrieve-license-from-user ### Parameters #### Query Parameters - **user**: (string) - Required - The identifier of the user. ``` -------------------------------- ### KeyAuth - Add Application Hash Source: https://keyauthdocs.apidog.io/llms.txt Add a hash to an application to prevent any users from running modified versions of an application. ```APIDOC ## POST /sellerapi/application-settings/add-application-hash ### Description Adds a hash to an application to prevent the execution of modified versions. ### Method POST ### Endpoint /sellerapi/application-settings/add-application-hash ### Parameters #### Request Body - **app_id** (string) - Required - The ID of the application. - **hash** (string) - Required - The hash to add to the application. ``` -------------------------------- ### Assign A License To A User Source: https://keyauthdocs.apidog.io/llms.txt Assigns an existing license to a specified user. ```APIDOC ## POST /v1/licenses/assign ### Description Assigns a license to a user. ### Method POST ### Endpoint /v1/licenses/assign ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **license** (string) - Required - The license key to assign. - **user** (string) - Required - The username of the user to assign the license to. ### Response #### Success Response (200) - **message** (string) - A success message indicating the license was assigned. ``` -------------------------------- ### Retrieve All Logs Source: https://keyauthdocs.apidog.io/llms.txt Retrieves all logs generated by the application. ```APIDOC ## GET /v1/logs ### Description Retrieves all logs sent by using the .log function. ### Method GET ### Endpoint /v1/logs ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **logs** (array) - An array of log objects. ``` -------------------------------- ### KeyAuth - Retrieve Messages Source: https://keyauthdocs.apidog.io/llms.txt Receive messages from the chat channel. ```APIDOC ## GET /api/features/chatroom/messages/retrieve-messages ### Description Retrieves messages from a specified chat channel. ### Method GET ### Endpoint /api/features/chatroom/messages/retrieve-messages ### Parameters #### Query Parameters - **channel_id** (string) - Required - The ID of the chat channel to retrieve messages from. ``` -------------------------------- ### Unpause Application Source: https://keyauthdocs.apidog.io/llms.txt Allow users to access an application again. This endpoint is part of the Application Settings section of the Seller API. ```APIDOC ## POST /v1/unpause ### Description Allow users to access an application again. ### Method POST ### Endpoint /v1/unpause ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **message** (string) - A success message indicating the application has been unpaused. ``` -------------------------------- ### Unpause User Source: https://keyauthdocs.apidog.io/llms.txt Resumes a user's account that was previously paused, allowing them to log in and access applications. ```APIDOC ## POST /users/unpause-user ### Description Unpauses a user, allowing them to gain access to an application. ### Method POST ### Endpoint /users/unpause-user ### Parameters #### Request Body - **user**: (string) - Required - The identifier of the user to unpause. ``` -------------------------------- ### Retrieve All Usernames Source: https://keyauthdocs.apidog.io/llms.txt Fetches a list of all usernames currently in use within the system. This can help in checking for username availability or uniqueness. ```APIDOC ## GET /users/retrieve-all-usernames ### Description Retrieves all usernames. ### Method GET ### Endpoint /users/retrieve-all-usernames ``` -------------------------------- ### Retrieve An Existing File Source: https://keyauthdocs.apidog.io/llms.txt Retrieve an existing file. This endpoint is part of the Files section of the Seller API. ```APIDOC ## GET /v1/files/get ### Description Retrieve an existing file. ### Method GET ### Endpoint /v1/files/get ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. - **fileName** (string) - Required - The name of the file to retrieve. ### Response #### Success Response (200) - **fileContent** (string) - The content of the file (base64 encoded). ``` -------------------------------- ### KeyAuth - Set User Variable Source: https://keyauthdocs.apidog.io/llms.txt Set a user variable. This variable contains data that will be accessible by this user. ```APIDOC ## POST /api/features/user/variables/set-user-variable ### Description Sets or updates a user-specific variable. ### Method POST ### Endpoint /api/features/user/variables/set-user-variable ### Parameters #### Request Body - **variable_name** (string) - Required - The name of the user variable. - **variable_value** (string) - Required - The value to assign to the user variable. ``` -------------------------------- ### Retrieve All Resellers and Managers Source: https://keyauthdocs.apidog.io/llms.txt Retrieves a list of all reseller and manager accounts. ```APIDOC ## GET /sellerapi/reseller-manager/retrieve-all-resellers-and-managers ### Description Retrieve all Resellers and Managers. ### Method GET ### Endpoint /sellerapi/reseller-manager/retrieve-all-resellers-and-managers ### Response #### Success Response (200) - **accounts** (array) - A list of reseller and manager account objects. - **account_id** (string) - The ID of the account. - **username** (string) - The username of the account. - **role** (string) - The role of the account ('reseller' or 'manager'). #### Response Example { "accounts": [ { "account_id": "res_xyz789", "username": "reseller1", "role": "reseller" }, { "account_id": "mgr_abc123", "username": "managerA", "role": "manager" } ] } ``` -------------------------------- ### Verify User Exists Source: https://keyauthdocs.apidog.io/llms.txt Checks if a user account exists in the system. This is useful for validating user identifiers before performing other operations. ```APIDOC ## GET /users/verify-user-exists ### Description Verifies if a user exists or not. ### Method GET ### Endpoint /users/verify-user-exists ### Parameters #### Query Parameters - **user**: (string) - Required - The identifier of the user to verify. ``` -------------------------------- ### Retrieve All Blacklists Source: https://keyauthdocs.apidog.io/llms.txt Retrieve all blacklisted IPs and HWIDs. This endpoint is part of the Blacklists section of the Seller API. ```APIDOC ## GET /v1/blacklists ### Description Retrieve all blacklisted IPs and HWIDs. ### Method GET ### Endpoint /v1/blacklists ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **blacklists** (array) - An array of blacklist objects. - **type** (string) - The type of blacklist entry (IP or HWID). - **value** (string) - The blacklisted IP address or HWID. - **addedAt** (string) - The timestamp when the entry was added. ``` -------------------------------- ### KeyAuth - Send Messages Source: https://keyauthdocs.apidog.io/llms.txt Allow users to send messages to a chat channel. ```APIDOC ## POST /api/features/chatroom/messages/send-messages ### Description Sends a message to a specified chat channel. ### Method POST ### Endpoint /api/features/chatroom/messages/send-messages ### Parameters #### Request Body - **channel_id** (string) - Required - The ID of the chat channel to send the message to. - **message** (string) - Required - The content of the message. ``` -------------------------------- ### Retrieve All Users Variables Source: https://keyauthdocs.apidog.io/llms.txt Retrieves all variables that have been set for any user in the system. This provides a comprehensive view of user-specific data. ```APIDOC ## GET /users/retrieve-all-users-variables ### Description Retrieves all of the user variables. ### Method GET ### Endpoint /users/retrieve-all-users-variables ``` -------------------------------- ### Add Balance To Reseller Source: https://keyauthdocs.apidog.io/llms.txt Adds balance to a reseller account. ```APIDOC ## POST /sellerapi/reseller-manager/add-balance-to-reseller ### Description Add balance to a reseller. ### Method POST ### Endpoint /sellerapi/reseller-manager/add-balance-to-reseller ### Parameters #### Request Body - **reseller_id** (string) - Required - The ID of the reseller account. - **amount** (number) - Required - The amount of balance to add. ### Response #### Success Response (200) - **message** (string) - Confirmation message indicating the balance has been added. - **new_balance** (number) - The updated balance of the reseller account. #### Response Example { "message": "Balance added successfully to reseller account.", "new_balance": 150.75 } ``` -------------------------------- ### Create New Blacklist Source: https://keyauthdocs.apidog.io/llms.txt Add an IP or a HWID to the blacklist. This endpoint is part of the Blacklists section of the Seller API. ```APIDOC ## POST /v1/blacklist ### Description Add an IP or a HWID to the blacklist. ### Method POST ### Endpoint /v1/blacklist ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. #### Request Body - **ip** (string) - Optional - The IP address to blacklist. - **hwid** (string) - Optional - The HWID to blacklist. ### Response #### Success Response (200) - **message** (string) - A success message indicating the IP or HWID has been added to the blacklist. ``` -------------------------------- ### Unban A License Source: https://keyauthdocs.apidog.io/llms.txt Unbans a previously banned license, allowing the user to log in again. ```APIDOC ## POST /v1/licenses/unban ### Description Unbans a license. ### Method POST ### Endpoint /v1/licenses/unban ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **license** (string) - Required - The license key to unban. ### Response #### Success Response (200) - **message** (string) - A success message indicating the license was unbanned. ``` -------------------------------- ### Retrieve License Information Source: https://keyauthdocs.apidog.io/llms.txt Retrieves detailed information about a specific license. ```APIDOC ## GET /v1/licenses/{license_key} ### Description Retrieves information about a license. ### Method GET ### Endpoint /v1/licenses/{license_key} ### Parameters #### Path Parameters - **license_key** (string) - Required - The license key to retrieve information for. #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **license** (object) - An object containing the license details. ``` -------------------------------- ### Delete All Whitelists Source: https://keyauthdocs.apidog.io/llms.txt Deletes all IP addresses from the whitelist. ```APIDOC ## DELETE /sellerapi/whitelists/delete-all-whitelists ### Description Delete all whitelists. ### Method DELETE ### Endpoint /sellerapi/whitelists/delete-all-whitelists ### Response #### Success Response (200) - **message** (string) - Confirmation message indicating all whitelisted IPs have been removed. #### Response Example { "message": "All whitelisted IP addresses have been removed." } ``` -------------------------------- ### Retrieve Reseller Balance Source: https://keyauthdocs.apidog.io/llms.txt Retrieves the current balance of a reseller account. ```APIDOC ## GET /sellerapi/reseller-manager/retrieve-reseller-balance ### Description Retrieve the balance from a reseller. ### Method GET ### Endpoint /sellerapi/reseller-manager/retrieve-reseller-balance ### Parameters #### Query Parameters - **reseller_id** (string) - Required - The ID of the reseller account. ### Response #### Success Response (200) - **balance** (number) - The current balance of the reseller account. #### Response Example { "balance": 120.50 } ``` -------------------------------- ### KeyAuth - Retrieve User Variable Source: https://keyauthdocs.apidog.io/llms.txt Retrieve the user variable data assigned to the user ```APIDOC ## GET /api/features/user/variables/retrieve-user-variable ### Description Retrieves a specific user variable. ### Method GET ### Endpoint /api/features/user/variables/retrieve-user-variable ### Parameters #### Query Parameters - **variable_name** (string) - Required - The name of the user variable to retrieve. ``` -------------------------------- ### Retrieve All Sessions Source: https://keyauthdocs.apidog.io/llms.txt Retrieves all currently active user sessions. ```APIDOC ## GET /v1/sessions ### Description Retrieves all active sessions. ### Method GET ### Endpoint /v1/sessions ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **sessions** (array) - An array of session objects. ``` -------------------------------- ### KeyAuth - Logout Source: https://keyauthdocs.apidog.io/llms.txt Log out of the application. This will end the session and require the user to login again. ```APIDOC ## POST /api/getting-started/logout ### Description Ends the current user session, requiring re-authentication. ### Method POST ### Endpoint /api/getting-started/logout ``` -------------------------------- ### Retrieve Reseller or Manager Information Source: https://keyauthdocs.apidog.io/llms.txt Retrieves detailed information about a specific reseller or manager account. ```APIDOC ## GET /sellerapi/reseller-manager/retrieve-info-resellers-and-managers ### Description Retrieve information about a specific Reseller or Manager. ### Method GET ### Endpoint /sellerapi/reseller-manager/retrieve-info-resellers-and-managers ### Parameters #### Query Parameters - **account_id** (string) - Required - The ID of the reseller or manager account. ### Response #### Success Response (200) - **account_id** (string) - The ID of the account. - **username** (string) - The username of the account. - **role** (string) - The role of the account ('reseller' or 'manager'). - **balance** (number) - The current balance of the account (if applicable). - **created_at** (string) - The timestamp when the account was created. #### Response Example { "account_id": "res_xyz789", "username": "reseller1", "role": "reseller", "balance": 120.50, "created_at": "2023-10-27T10:00:00Z" } ``` -------------------------------- ### KeyAuth - Change Username Source: https://keyauthdocs.apidog.io/llms.txt Allow the user to change their username. ```APIDOC ## POST /api/features/change-username ### Description Allows the authenticated user to change their username. ### Method POST ### Endpoint /api/features/change-username ### Parameters #### Request Body - **new_username** (string) - Required - The desired new username. ``` -------------------------------- ### Retrieve User Data Source: https://keyauthdocs.apidog.io/llms.txt Fetches detailed information about a specific user. This includes profile details, subscription status, and other relevant data. ```APIDOC ## GET /users/retrieve-user-data ### Description Retrieves information about a user. ### Method GET ### Endpoint /users/retrieve-user-data ### Parameters #### Query Parameters - **user**: (string) - Required - The identifier of the user whose data is to be retrieved. ``` -------------------------------- ### KeyAuth - Forgot Password Source: https://keyauthdocs.apidog.io/llms.txt Allow users to reset their password if they forgot it. The user must have entered an email when registering an account or else they will be unable to reset their password until an email is assigned. ```APIDOC ## POST /api/features/forgot-password ### Description Initiates the password reset process for a user. ### Method POST ### Endpoint /api/features/forgot-password ### Parameters #### Request Body - **email** (string) - Required - The email address associated with the account. ``` -------------------------------- ### Set Note On Existing License Source: https://keyauthdocs.apidog.io/llms.txt Sets or updates a note on an existing license. ```APIDOC ## POST /v1/licenses/set-note ### Description Sets a note on an existing license. ### Method POST ### Endpoint /v1/licenses/set-note ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **license** (string) - Required - The license key to set the note on. - **note** (string) - Required - The note to set on the license. ### Response #### Success Response (200) - **message** (string) - A success message indicating the note was set. ``` -------------------------------- ### Create A New Chat Channel Source: https://keyauthdocs.apidog.io/llms.txt Create a new chatroom channel to allow messages to be sent to. This endpoint is part of the Chats section of the Seller API. ```APIDOC ## POST /v1/chats/create ### Description Create a new chatroom channel to allow messages to be sent to. ### Method POST ### Endpoint /v1/chats/create ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. #### Request Body - **name** (string) - Required - The name of the new chat channel. ### Response #### Success Response (200) - **message** (string) - A success message indicating the chat channel has been created. - **channelId** (string) - The ID of the newly created chat channel. ``` -------------------------------- ### Delete All Files Source: https://keyauthdocs.apidog.io/llms.txt Delete all files on an application. This endpoint is part of the Files section of the Seller API. ```APIDOC ## DELETE /v1/files/all ### Description Delete all files on an application. ### Method DELETE ### Endpoint /v1/files/all ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **message** (string) - A success message indicating all files have been deleted. ``` -------------------------------- ### Delete Multiple Licenses Source: https://keyauthdocs.apidog.io/llms.txt Deletes multiple licenses at once. ```APIDOC ## DELETE /v1/licenses/delete-multiple ### Description Deletes multiple licenses at once. ### Method DELETE ### Endpoint /v1/licenses/delete-multiple ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **licenses** (string) - Required - A comma-separated string of license keys to delete. ### Response #### Success Response (200) - **message** (string) - A success message indicating the licenses were deleted. ``` -------------------------------- ### Pause Application Source: https://keyauthdocs.apidog.io/llms.txt Pause an application and prevent users from logging in until the application is unpaused. This endpoint is part of the Application Settings section of the Seller API. ```APIDOC ## POST /v1/pause ### Description Pause an application and prevent users from logging in until the application is unpaused. ### Method POST ### Endpoint /v1/pause ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **message** (string) - A success message indicating the application has been paused. ``` -------------------------------- ### Add Time To All Unused Licenses Source: https://keyauthdocs.apidog.io/llms.txt Adds a specified amount of time to all unused licenses. ```APIDOC ## POST /v1/licenses/add-time ### Description Adds time to all licenses that are not being used. This will add the time given to whatever the existing time is on the license. ### Method POST ### Endpoint /v1/licenses/add-time ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. - **time** (integer) - Required - The amount of time in minutes to add to each license. ### Response #### Success Response (200) - **message** (string) - A success message indicating the operation was completed. ``` -------------------------------- ### Create A New Global Variable Source: https://keyauthdocs.apidog.io/llms.txt Create a new global variable. This can be retrieved by any user! This endpoint is part of the Global Variables section of the Seller API. ```APIDOC ## POST /v1/variables/create ### Description Create a new global variable. This can be retrieved by any user! ### Method POST ### Endpoint /v1/variables/create ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. #### Request Body - **name** (string) - Required - The name of the global variable. - **value** (string) - Required - The value of the global variable. ### Response #### Success Response (200) - **message** (string) - A success message indicating the global variable has been created. ``` -------------------------------- ### Delete All Used Licenses Source: https://keyauthdocs.apidog.io/llms.txt Deletes all licenses that are currently in use. ```APIDOC ## DELETE /v1/licenses/delete-all-used ### Description Deletes all used licenses. ### Method DELETE ### Endpoint /v1/licenses/delete-all-used ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **message** (string) - A success message indicating all used licenses were deleted. ``` -------------------------------- ### Edit An Existing File Source: https://keyauthdocs.apidog.io/llms.txt Edit an existing file on an application. This endpoint is part of the Files section of the Seller API. ```APIDOC ## POST /v1/files/edit ### Description Edit an existing file on an application. ### Method POST ### Endpoint /v1/files/edit ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. #### Request Body - **fileName** (string) - Required - The name of the file to edit. - **newContent** (string) - Required - The new content for the file (base64 encoded). ### Response #### Success Response (200) - **message** (string) - A success message indicating the file has been edited. ``` -------------------------------- ### Retrieve All Chat Channels Source: https://keyauthdocs.apidog.io/llms.txt Retrieve all existing chat channels. This endpoint is part of the Chats section of the Seller API. ```APIDOC ## GET /v1/chats ### Description Retrieve all existing chat channels. ### Method GET ### Endpoint /v1/chats ### Parameters #### Query Parameters - **token** (string) - Required - Your application's API token. ### Response #### Success Response (200) - **channels** (array) - An array of chat channel objects. - **id** (string) - The ID of the chat channel. - **name** (string) - The name of the chat channel. - **createdAt** (string) - The timestamp when the channel was created. ``` -------------------------------- ### Delete All Users Source: https://keyauthdocs.apidog.io/llms.txt Deletes all user accounts within the system. This is a destructive operation and should be used with extreme caution. ```APIDOC ## POST /users/delete-all-users ### Description Deletes all users. ### Method POST ### Endpoint /users/delete-all-users ``` -------------------------------- ### Delete All Unused Licenses Source: https://keyauthdocs.apidog.io/llms.txt Deletes all licenses that are not currently in use. ```APIDOC ## DELETE /v1/licenses/delete-all-unused ### Description Deletes all unused licenses. ### Method DELETE ### Endpoint /v1/licenses/delete-all-unused ### Parameters #### Query Parameters - **token** (string) - Required - Your seller token. ### Response #### Success Response (200) - **message** (string) - A success message indicating all unused licenses were deleted. ``` -------------------------------- ### Delete All Webhooks Source: https://keyauthdocs.apidog.io/llms.txt Deletes all configured webhooks for the seller account. ```APIDOC ## DELETE /sellerapi/webhooks/delete-all-webhooks ### Description Delete all webhooks. ### Method DELETE ### Endpoint /sellerapi/webhooks/delete-all-webhooks ### Response #### Success Response (200) - **message** (string) - Confirmation message indicating all webhooks have been deleted. #### Response Example { "message": "All webhooks have been deleted successfully." } ``` -------------------------------- ### Delete All Web Loader Buttons Source: https://keyauthdocs.apidog.io/llms.txt Deletes all web loader buttons associated with the seller account. ```APIDOC ## DELETE /sellerapi/webloader/delete-all-web-loader-buttons ### Description Delete all web loader buttons. ### Method DELETE ### Endpoint /sellerapi/webloader/delete-all-web-loader-buttons ### Response #### Success Response (200) - **message** (string) - Confirmation message indicating all web loader buttons have been deleted. #### Response Example { "message": "All web loader buttons have been deleted successfully." } ``` -------------------------------- ### Set User Variable Source: https://keyauthdocs.apidog.io/llms.txt Assigns or updates a variable for a specific user. This allows for storing custom data associated with each user. ```APIDOC ## POST /users/set-user-variable ### Description Sets a user variable. ### Method POST ### Endpoint /users/set-user-variable ### Parameters #### Request Body - **user**: (string) - Required - The identifier of the user. - **variable_name**: (string) - Required - The name of the variable to set. - **variable_data**: (string) - Required - The data to assign to the variable. ```