API Services

With the API, you can engage in domain name registration and account management! Our API supports domain search, registration, renewal, dropcatch, and the use of your own software and servers, among other functions. You can easily configure domain name servers, select renewals, and create folders for your domains.

Update Domain Contact

Users update domain contact template

Request URL
/api/domain/contact
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain
template ID mbid Integer Yes template ID
Request Demo
{
	"url": "http://api.gname.net/api/domain/contact",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618998459,
		"mbid": "123456",
		"ym": "gname.com",
		"gntoken": "6D11250BD432881710D992D4DD147517"
	}
}
Response Data
Field Parameter Type Description
return code code Integer 1:return successfully -1:return failed
return description msg String description of the return request operation
return data data String return the requested operation result data
domain ym String domains which need to modify the template
Response Demo
{
    "code": 1,
    "msg": "modify successfully,it has taken effect",
    "data": "",
    "ym": "gname.net"
}