Rage4 DNS - Developers: Partner API
Rage4 DNS offers easy to use API which allows third party integration.
Introduction
All API calls are made using GET method.
All API calls uses BASIC authentication using user's email address as username and Account Key as password. Account Key is available in User Profile section of Rage4 DNS control panel.
Number of API calls is not limited.User related operations
List users
https://secure.rage4.com/papi/userlist/
Output
array(2) { [0]=> array(3) { ["id"]=> int ["email"]=> string "user1@example.com" ["apikey"]=> string "1234567890APIKEY" } [1]=> array(3) { ["id"]=> int ["email"]=> string "user2@example.com" ["apikey"]=> string "1234567890APIKEY" } }
Create user
https://secure.rage4.com/papi/userregister/?email=<user's email address [string]>
Output
array(4) { ["id"]=> int ["email"]=> string "user@example.com" ["password"]=> string "PlainTextPassword" ["apikey"]=> string "1234567890APIKEY" }
List groups
https://secure.rage4.com/papi/grouplist/
Output
array(2) { [0]=> array(3) { ["id"]=> int ["name"]=> string } [1]=> array(3) { ["id"]=> int ["name"]=> string } }
Create group
https://secure.rage4.com/papi/creategroup/?name=<group name [string]>&max_allowed=<max allowed domains [int, nullable]>
Output
array(3) { ["id"]=> int ["name"]=> string }
Update group
https://secure.rage4.com/papi/updategroup/<group id [int]>?name=<group name [string]>&max_allowed=<max allowed domains [int, nullable]>
Output
array(3) { ["id"]=> int ["name"]=> string }
Delete group
https://secure.rage4.com/papi/deletegroup/<group id [int]>
Output
array(3) { ["status"]=> bool(true) ["id"]=> int(97) ["error"]=> string(0) "" }
Add user to group
https://secure.rage4.com/papi/useraddgroup/<user id [int]>?group=<group id [int]>
Output
array(3) { ["status"]=> bool(true) ["id"]=> int(97) ["error"]=> string(0) "" }
Remove user from group
https://secure.rage4.com/papi/userdelgroup/<user id [int]>
Output
array(3) { ["status"]=> bool(true) ["id"]=> int(97) ["error"]=> string(0) "" }
Add domain to group
https://secure.rage4.com/papi/domainaddgroup/<domain id [int]>?group=<group id [int]>
Output
array(3) { ["status"]=> bool(true) ["id"]=> int(97) ["error"]=> string(0) "" }
Remove domain from group
https://secure.rage4.com/papi/domaindelgroup/<domain id [int]>
Output
array(3) { ["status"]=> bool(true) ["id"]=> int(97) ["error"]=> string(0) "" }