API Introduction

API Introduction

The Domains Reseller API allows you to interact with our system programmatically from your own WHMCS or solution of choice.
Using the API you are able to perform actions such as:
• Register Domain
• Transfer Domain
• Renew Domain
• Modify Contact Details
• Get/Modify Nameservers

Domains Reseller Request/Response Data Format:
In requests, Domains Reseller accepts query parameters.
API response is sent in JSON data format.

API key and email address is required for authentication.
These details are given by provider.


The following examples use the cURL command-line tool to exectute API requests.

Exemplary API Request:
curl 'https://www.host.al/clientarea/domainsResellerAPI/api.php'  --data 'token=T2F4MTasdasdaLUBtjkSNzw2IQYP9yJ&[email protected]&action=RegisterDomain&sld=testsafasf&tld=al&regperiod=1&nameserver1=ns1.name.al&nameserver2=ns2.name.al&firstname=test&lastname=test&companyname=company&address1=addresss&city=city&state=region&country=US&postcode=12345&phonenumber=1234567890&[email protected]&dnsmanagement=1&idprotection=0&emailforwarding=0' --compressed
Exemplary API Response:
{"result":"success","msg":"Domain has been registered"}
  • 14 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

API Actions

RegisterDomain: This command is used to send a Register command to the registrar. Request...

Example PHP code

<?php $data = array( "action" => "RegisterDomain", "token" =>...

Install the Host.al Domain Reseller Registrar module in WHMCS

Below you can find instructions for installation of the registrar module on reseller WHMCS.Make...