Get Usernames

GET
https://authsecure.com/api/seller/

End/Modify user data and sessions directly securely.

Retrieve a list of all usernames for the current seller & application.

ℹ️ Supports JSON and TEXT response formats.

Endpoint Details

GET /api/get_usernames.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key
formatNojson (default) or text

Success Response (JSON)

{
  "success": true,
  "usernames": [
    "admin",
    "testuser",
    "demo123"
  ]
}

Success Response (Text)

admin
testuser
demo123

Code Examples

fetch("http://localhost/commen/api/get_usernames.php?sellerkey=KEY")
 .then(r => r.json())
 .then(console.log);
<?php
echo file_get_contents(
 "http://localhost/commen/api/get_usernames.php?sellerkey=KEY"
);
?>
import requests
r = requests.get(
 "http://localhost/commen/api/get_usernames.php",
 params={"sellerkey":"KEY"}
)
print(r.text)
var client = new RestClient(
 "http://localhost/commen/api/get_usernames.php?sellerkey=KEY"
);
var res = client.Execute(new RestRequest(Method.GET));
Console.WriteLine(res.Content);