Project Phil Documentation
Sign in

Get All License Keys

Added in v1.0

GEThttps://api.example.com/api/keys

Requires authentication: x-api-key: YOUR_API_KEY

Returns an array of all license keys in the database.

Headers

  • x-api-keystringrequired
    Your 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
  }
]
Written by !RAB Last updated 1 Dec 2026

Discussion 0

No comments yet. Sign in with Discord to start the conversation.