Get All License Keys
Added in v1.0
GET
https://api.example.com/api/keysRequires authentication: x-api-key: YOUR_API_KEY
Returns an array of all license keys in the database.
Headers
x-api-keystringrequiredYour API key.
Responses
- 200OK
Request
curl -X GET 'https://api.example.com/api/keys' \
-H 'x-api-key: YOUR_API_KEY'
const res = await fetch('https://api.example.com/api/keys', {
headers: { 'x-api-key': 'YOUR_API_KEY' }
});
const keys = await res.json();
import requests
res = requests.get('https://api.example.com/api/keys', headers={'x-api-key': 'YOUR_API_KEY'})
keys = res.json()
$ch = curl_init('https://api.example.com/api/keys');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['x-api-key: YOUR_API_KEY']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$keys = json_decode(curl_exec($ch), true);
200 OK
[
{
"id": 1,
"uuid": "123",
"product": 1,
"key": "0190a5f3-7c1e-7b2a-9d4e-3f8a6c1b2d90",
"ip": "1.1.1.1",
"status": true,
"disabled": false,
"locked": true,
"lastSeen": 1790000000000
}
]
Discussion 0
Reading is open to everyone. Posting, replying, reacting and reporting require a Discord account — we only receive your public username and avatar.
No comments yet. Sign in with Discord to start the conversation.
Sign in required
Reading is open to everyone. Posting, replying, reacting and reporting require a Discord account — we only receive your public username and avatar.