Integrate SKBHOSTING services into your applications with our RESTful API.
All API requests require an API key passed in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Generate your API key from Dashboard → API Keys.
Powered by Truehost Reseller API. All domain operations must be performed through authenticated POST requests to /api/domain.php.
/api/domain.php
Check domain availability
{"action":"check","domain":"example.com"}
/api/domain.php
Register a new domain
{"action":"register","domain":"example.com","years":1}
/api/domain.php
Transfer a domain
{"action":"transfer","domain":"example.com","epp_code":"XXXXXX"}
/api/domain.php
Renew a domain
{"action":"renew","domain":"example.com","years":1}
/api/domain.php
Get DNS records
{"action":"get_dns","domain":"example.com"}
/api/domain.php
Update DNS records
{"action":"save_dns","domain":"example.com","records":[...]}
/api/domain.php
Get nameservers
{"action":"get_nameservers","domain":"example.com"}
/api/domain.php
Toggle WHOIS privacy
{"action":"toggle_id_protect","domain":"example.com","enable":true}
/api/domain.php
Get EPP/Auth code
{"action":"get_epp","domain":"example.com"}
provision_hosting, suspend_service, and terminate_service actions.
Receive real-time notifications for events like order creation, domain registration, and invoice payments.
{
"event": "domain.registered",
"domain": "example.com",
"status": "active",
"timestamp": "2026-07-06T12:00:00Z"
}
Configure webhook endpoints from your Dashboard → API Keys.