API Introduction

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

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

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

URL: 


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

Exemplary API Request: 
curl 'https://vservs.com/clients/domainsResellerAPI/api.php'  --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&[email protected]&action=RegisterDomain&sld=exampledomain&tld=com&regperiod=1&nameserver1=ns1.yourdomain.com&nameserver2=ns2.yourdomain.com&adminfirstname=test&adminlastname=test&admincompanyname=company&adminaddress1=addresss&admincity=city&adminstate=region&admincountry=US&adminpostcode=12345&adminphonenumber=1234567890&[email protected]' --compressed
Exemplary API Response: 
{"result":"success","msg":"Domain has been registered"}
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Related Articles

Example Code (PHP)

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

API Actions

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

Vservs B.V. Domain API for WHMCS - Version 2

How to install Vservs API into youre WHMCS:   Upload the files to you`e WHMCS ftp folder...