Developer API
LicenceBot Partner API
Browse the global digital licence catalogue, check real-time stock levels, and issue instant order assignments programmatically. Orders are settled directly against your reseller deposit balance and delivered atomically.
Key + Secret HMAC Auth
Prepaid Reseller Balance
Sub-Second Key Delivery
Idempotent Order Locks
Authentication & Headers
Generate your API credentials in your LicenceBot Dashboard under Settings → API Access. Every request must supply your API key and signature header:
curl -X GET "https://api.licencebot.com/v1/catalogue" \ -H "X-API-Key: pk_live_948f..." \ -H "X-API-Secret: sk_live_831a..." \ -H "Content-Type: application/json"
Core Endpoints
GET/v1/catalogue
Returns available products, pricing in your preferred currency, and live inventory availability.
{
"success": true,
"products": [
{
"id": "prod_win11_pro",
"name": "Windows 11 Pro Retail",
"category": "Operating Systems",
"price_usd": 14.50,
"in_stock": true,
"min_order": 1
}
]
}POST/v1/orders
Atomically purchases and returns licence keys. Provide a unique idempotency_key to prevent duplicate charges.
curl -X POST "https://api.licencebot.com/v1/orders" \
-H "X-API-Key: pk_live_..." \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_win11_pro",
"quantity": 1,
"idempotency_key": "order_ref_10948",
"customer_email": "buyer@example.com"
}'Response (200 OK):
{
"success": true,
"order_id": "ord_89f02c4",
"status": "delivered",
"keys": [
{
"key": "VNK94-8XMPQ-37DYY-K9MQP-W789R",
"type": "Retail",
"activation_guide": "https://licencebot.com/docs/windows-11"
}
],
"charged_amount": 14.50,
"remaining_balance": 842.10
}Ready to integrate?
Obtain your staging or live credentials inside the dashboard in under 60 seconds.