curl --request GET \
--url https://console.advinservers.com/api/v1/client/licenses \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.advinservers.com/api/v1/client/licenses"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.advinservers.com/api/v1/client/licenses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://console.advinservers.com/api/v1/client/licenses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.advinservers.com/api/v1/client/licenses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.advinservers.com/api/v1/client/licenses")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.advinservers.com/api/v1/client/licenses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"uuid": "5d0c8f6e-3b1a-4e27-9f45-1c7a2b8d6e90",
"type": "whmcs",
"type_label": "WHMCS",
"plan_name": "Plus",
"name": "WHMCS Plus",
"status": "active",
"status_label": "Active",
"progress_message": null,
"needs_funds": false,
"awaits_staff": false,
"license_key": "Leased-3f9a2c71e8b4d065",
"is_suspended": false,
"download_url": "https://download.whmcs.com/",
"billing": {
"service_id": 7452,
"invoice_id": 16741,
"invoice_url": null,
"checkout_uuid": null,
"invoice_status": "Paid",
"amount": "27.60",
"currency": "USD",
"billing_cycle": "Monthly",
"payment_due_at": null,
"payment_window_minutes": 30,
"paid_at": "2026-07-21T09:12:41+00:00"
},
"cancellation_type": null,
"cancellation_requested_at": null,
"autopay": false,
"can_cancel": true,
"can_withdraw_cancellation": false,
"infrastructure_agreed_at": "2026-07-21T09:12:33+00:00",
"issued_at": "2026-07-21T09:12:58+00:00",
"created_at": "2026-07-21T09:12:33+00:00"
}
],
"catalog": {
"enabled": true,
"currency": "USD",
"billing_cycle": "Monthly",
"plans": [
{
"id": 2,
"type": "whmcs",
"type_label": "WHMCS",
"name": "Plus",
"description": "Up to 250 clients, no branding",
"price": "27.60"
},
{
"id": 13,
"type": "blesta",
"type_label": "Blesta",
"name": "Unlimited",
"description": "Unlimited clients",
"price": "2.70"
}
]
}
}{
"message": "Unauthenticated."
}{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}{
"message": "Too Many Attempts."
}List licenses
Overview
Lists the licenses in the current team that have not ended, oldest first. Each license includes its key once it has been issued, and a link to download the software. The response also includes the plans for sale.
Permissions
Requires the license.read (View licenses) permission for the selected team. Resources outside that team return 404.
curl --request GET \
--url https://console.advinservers.com/api/v1/client/licenses \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.advinservers.com/api/v1/client/licenses"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.advinservers.com/api/v1/client/licenses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://console.advinservers.com/api/v1/client/licenses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.advinservers.com/api/v1/client/licenses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.advinservers.com/api/v1/client/licenses")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.advinservers.com/api/v1/client/licenses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"uuid": "5d0c8f6e-3b1a-4e27-9f45-1c7a2b8d6e90",
"type": "whmcs",
"type_label": "WHMCS",
"plan_name": "Plus",
"name": "WHMCS Plus",
"status": "active",
"status_label": "Active",
"progress_message": null,
"needs_funds": false,
"awaits_staff": false,
"license_key": "Leased-3f9a2c71e8b4d065",
"is_suspended": false,
"download_url": "https://download.whmcs.com/",
"billing": {
"service_id": 7452,
"invoice_id": 16741,
"invoice_url": null,
"checkout_uuid": null,
"invoice_status": "Paid",
"amount": "27.60",
"currency": "USD",
"billing_cycle": "Monthly",
"payment_due_at": null,
"payment_window_minutes": 30,
"paid_at": "2026-07-21T09:12:41+00:00"
},
"cancellation_type": null,
"cancellation_requested_at": null,
"autopay": false,
"can_cancel": true,
"can_withdraw_cancellation": false,
"infrastructure_agreed_at": "2026-07-21T09:12:33+00:00",
"issued_at": "2026-07-21T09:12:58+00:00",
"created_at": "2026-07-21T09:12:33+00:00"
}
],
"catalog": {
"enabled": true,
"currency": "USD",
"billing_cycle": "Monthly",
"plans": [
{
"id": 2,
"type": "whmcs",
"type_label": "WHMCS",
"name": "Plus",
"description": "Up to 250 clients, no branding",
"price": "27.60"
},
{
"id": 13,
"type": "blesta",
"type_label": "Blesta",
"name": "Unlimited",
"description": "Unlimited clients",
"price": "2.70"
}
]
}
}{
"message": "Unauthenticated."
}{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}{
"message": "Too Many Attempts."
}Authorizations
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Response
The record, as a JSON object. There is no envelope.
The licenses, oldest first.
Show child attributes
Show child attributes
[
{
"uuid": "5d0c8f6e-3b1a-4e27-9f45-1c7a2b8d6e90",
"type": "whmcs",
"type_label": "WHMCS",
"plan_name": "Plus",
"name": "WHMCS Plus",
"status": "active",
"status_label": "Active",
"progress_message": null,
"needs_funds": false,
"awaits_staff": false,
"license_key": "Leased-3f9a2c71e8b4d065",
"is_suspended": false,
"download_url": "https://download.whmcs.com/",
"billing": {
"service_id": 7452,
"invoice_id": 16741,
"invoice_url": null,
"checkout_uuid": null,
"invoice_status": "Paid",
"amount": "27.60",
"currency": "USD",
"billing_cycle": "Monthly",
"payment_due_at": null,
"payment_window_minutes": 30,
"paid_at": "2026-07-21T09:12:41+00:00"
},
"cancellation_type": null,
"cancellation_requested_at": null,
"autopay": false,
"can_cancel": true,
"can_withdraw_cancellation": false,
"infrastructure_agreed_at": "2026-07-21T09:12:33+00:00",
"issued_at": "2026-07-21T09:12:58+00:00",
"created_at": "2026-07-21T09:12:33+00:00"
}
]
The plans for sale and their monthly prices.
Show child attributes
Show child attributes
{
"enabled": true,
"currency": "USD",
"billing_cycle": "Monthly",
"plans": [
{
"id": 2,
"type": "whmcs",
"type_label": "WHMCS",
"name": "Plus",
"description": "Up to 250 clients, no branding",
"price": "27.60"
},
{
"id": 13,
"type": "blesta",
"type_label": "Blesta",
"name": "Unlimited",
"description": "Unlimited clients",
"price": "2.70"
}
]
}