Apply API

Gname API is available for domain drop catch, account management, domain query, registration, renewal, deletion, using for apps and servers etc. You are able to easily set domain servers, choose renewal and create folder.

Add Template

Add user's domain template

Request URL
http://api.gname.net/api/template/add
Request Method
POST
Request Parameter
Field Parameter Type Required Description
template name name String Yes template name
last name xing String Yes last name
first name ming String Yes first name
email address email String Yes email address [email protected]
international code guojia String Yes international code:CN
province province String Yes province:anhui
city city String Yes city:hefei
address address String Yes separate by commas,such as:xxxxx,xxxx,xxxxx
international area code gjqh String Yes international area code:86
mobile number phone String Yes mobile number:13812345678
extension number fjh String No extension number:22
corporation name gsmc String No corporation name:gname.com
postal code youbian String Yes 200011
User actual operation IP emailip String Yes 123.123.123.123
Response Data
Field Parameter Type Description
return code code Int 1:return successfully -1:return failed
return description msg String description of the return request operation
return data data Object return the requested operation result data
Response Demo
{
    "code": 1,
    "msg": "congratulations!you’re successful to add template《testing template2》",
    "data": 103
}

Copyright© 2021 GNAME.COM. All rights reserved. Legal Statement | Privacy Policy