The PlanetHoster API allows actions related to domain management and web hosting.
Whitelisted IP and credentials can be found in the PlanetHoster Client Area / Reseller section.
Tests the connection to the domain reseller API.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/test-connection'
{- "message": "Connection successful",
- "successful_connection": true
}
Return information pertinent to your reseller account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/account-info'
{- "message": "Account information successfully obtained",
- "credit_remaining": 500.51,
- "credit_currency": "USD",
- "num_active_orders": 3,
- "num_active_domains": 3
}
Returns domain name prices for registration, renewal and transfer. It also returns whether or not each TLD sold by PlanetHoster supports WHOIS ID protection, and whether it requires an EPP code for domain transfer or not.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/tld-prices'
{- "message": "Successfully retrieved prices",
- "currency_code": "USD",
- "tlds": {
- ".tld": {
- "register": 9.99,
- "transfer": 9.99,
- "renew": 9.99,
- "transfer_requires_epp_code": true,
- "id_protection_supported": true
}
}
}
Checks whether a domain name is available to register or not.
sld required | string Example: sld=mydomain Domain name without the Top-Level Domain (TLD). |
tld required | string Example: tld=com TLD without the leading period. |
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/check-availability?sld=mydomain&tld=com'
{- "available": true,
- "message": "Available",
- "is_premium": true,
- "premium_register_price": 100.11,
- "premium_renew_price": 100.11
}
Retrieve information for a domain you successfully registered or for which you created a transfer order.
sld required | string Example: sld=mydomain Domain name without the Top-Level Domain (TLD). |
tld required | string Example: tld=com TLD without the leading period. |
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/domain-info?sld=mydomain&tld=com'
{- "message": "Domain info successfully obtained.",
- "order_id": 1122,
- "is_transfer": false,
- "is_registration": true,
- "registration_date": "2022-02-02",
- "expiry_date": "2024-02-02",
- "registration_status": "Active",
- "registration_status_info": "transfer_in_progress",
- "purchase_status": "Paid",
- "id_protection": true,
- "domain_statuses": "clientTransferProhibited",
- "transfer_request_status": "Pending",
- "transfer_request_denied_reason": "Reject by registrar",
- "transfer_request_denied_at": "2024-02-02",
- "transfer_request_confirmed_at": "2024-02-02"
}
Returns the contact information (WHOIS information) for the active domain name.
sld required | string Example: sld=mydomain Domain name without the Top-Level Domain (TLD). |
tld required | string Example: tld=com TLD without the leading period. |
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/get-contact-details?sld=mydomain&tld=com'
{- "message": "Contact(s) successfully obtained",
- "contacts": [
- {
- "name": "John doe",
- "company_name": "PlanetHoster",
- "addr": {
- "address1": "123 Melrose Avenue",
- "address2": "",
- "address3": "",
- "city": "Montreal",
- "state": "Quebec",
- "postal_code": "string",
- "country": "CA"
}, - "phone_number": "15145555555",
- "fax": "",
- "email": "johndoe@mydomain.com",
- "contact_type": "Registrant",
- "phone_extension": "12",
- "statuses": [
- "clientTransferProhibited"
]
}
]
}
Saves the contact information (WHOIS information) for the given active domain name.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Contact parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
registrant_first_name required | string The first name of the individual registering the domain. |
registrant_last_name required | string The last name of the individual registering the domain. |
registrant_email required | string The email address of the domain registrant, used for communication regarding domain management. |
registrant_company_name | string The name of the company or organization associated with the domain registration. This field can be left blank if the registration is for personal use. |
registrant_address1 required | string The primary street address of the registrant or their organization, including civic number. |
registrant_address2 | string The secondary street address of the registrant, if applicable. This field can be left blank. |
registrant_city required | string The city where the registrant resides or is registered. |
registrant_postal_code required | string The postal or ZIP code of the registrant’s residence. |
registrant_state required | string The state or province where the registrant resides. |
registrant_country_code required | string The two-letter country code representing the registrant’s country of residence. Refer to the country code list here. |
registrant_phone required | string The phone number of the registrant, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France. |
{- "sld": "mydomain",
- "tld": "com",
- "registrant_first_name": "John.",
- "registrant_last_name": "Doe.",
- "registrant_email": "johndoe@mydomain.com.",
- "registrant_company_name": "string",
- "registrant_address1": "123 Parkway Lane.",
- "registrant_address2": "222 rue Halfway.",
- "registrant_city": "Montreal.",
- "registrant_postal_code": "44444.",
- "registrant_state": "Quebec.",
- "registrant_country_code": "CA.",
- "registrant_phone": "+1.5145555555."
}
{- "message": "Contact(s) successfully saved"
}
Get the lock status of a registered domain name.
If a domain is locked, it means that it cannot be transferred.
See /save-registrar-lock for more info.
sld required | string Example: sld=mydomain Domain name without the Top-Level Domain (TLD). |
tld required | string Example: tld=com TLD without the leading period. |
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/get-registrar-lock?sld=mydomain&tld=com'
{- "message": "Lock status successfully obtained",
- "is_locked": true
}
Lock or unlock a registered and active domain name.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Nameservers parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
lock_action required | string Enum: "Lock" "Unlock" Lock action name. |
{- "sld": "mydomain",
- "tld": "com",
- "lock_action": "Lock"
}
{- "message": "Lock status successfully saved (Locked)",
- "is_locked": true
}
Returns the nameservers for a registered domain name.
There must be at least two existing nameservers associated with a domain name.
sld required | string Example: sld=mydomain Domain name without the Top-Level Domain (TLD). |
tld required | string Example: tld=com TLD without the leading period. |
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/get-nameservers?sld=mydomain&tld=com'
{- "message": "Nameservers successfully obtained",
- "nameservers": [
- [
- "ns1.resellersite.com",
- "ns2.resellersite.com",
- "ns3.resellersite.com"
]
]
}
Update the nameservers associated with your domain.
The nameservers must exist and be valid nameservers.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Nameservers parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
ns1 required | string Primary nameserver for the domain. |
ns2 required | string Secondary nameserver for the domain. |
ns3 | string Backup nameserver (for redundancy purposes). |
ns4 | string Backup nameserver (for redundancy purposes). |
ns5 | string Backup nameserver (for redundancy purposes). |
{- "sld": "mydomain",
- "tld": "com",
- "ns1": "ns1.resellersite.com",
- "ns2": "ns2.resellersite.net",
- "ns3": "ns3.resellersite.com",
- "ns4": "ns4.resellersite.com",
- "ns5": "ns5.resellersite.com"
}
{- "message": "Nameserver(s) successfully saved"
}
Retrieves the DNS records for the active domain name registered with PlanetHoster that has at least one PlanetHoster nameserver.
sld required | string Example: sld=mydomain Domain name without the Top-Level Domain (TLD). |
tld required | string Example: tld=com TLD without the leading period. |
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/reseller-api/get-ph-dns-records?sld=mydomain&tld=com'
{- "message": "DNS zone found on PlanetHoster nameservers",
- "records": [
- {
- "type": "A",
- "hostname": "mydomain.com",
- "address": "199.188.199.21"
}
]
}
Saves the DNS records for the active domain name registered with PlanetHoster that has at least one PlanetHoster nameserver.
If the DNS zone does not yet exist on PlanetHoster nameservers, it is created.
Note that this call only work for domain that use PlanetHoster DNS. nsa.n0c.com, nsb.n0c.com, nsc.n0c.com
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Records parameters.
You can add more records by incrementing the number at the end of the parameters key.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
type1 required | string Enum: "A" "AAAA" "CNAME" "MX" "MXE" "TXT" Record types. |
hostname1 required | string Hostname with which to associate the DNS record. |
address1 required | string Value depends on |
ttl1 | integer DNS TTL (time to live) represents the time each step takes for DNS to cache a record |
priority1 | integer Priority is for MX and MXE records only. |
{- "sld": "mydomain",
- "tld": "com",
- "type1": "A",
- "hostname1": "mydomain.com",
- "address1": "199.188.199.18",
- "ttl1": 14000,
- "priority1": 10
}
{- "message": "Successfully updated DNS record(s)"
}
Deletes the DNS zone on the PlanetHoster DNS servers for the given domain.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Delete zone parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Successfully deleted DNS zone on PlanetHoster DNS servers"
}
Email to the domain name registrant the EPP code (also called Auth Info) for the given domain.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
EPP code request parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Epp code successfully sent to registrant email",
- "epp_code_sent_to": "admin@mydomain.com"
}
Attempts to register a domain name for 1 to 10 years.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
X-API-SANDBOX | string Sandbox Environments set 1 to activate. |
Register parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
period required | integer [ 1 .. 10 ] Number of years to register the domain name. |
ns1 required | string Existing nameserver to use for DNS lookup of the registered domain. |
ns2 required | string Existing nameserver to use for DNS lookup of the registered domain. |
ns3 | string Existing nameserver to use for DNS lookup of the registered domain. |
ns4 | string Existing nameserver to use for DNS lookup of the registered domain. |
ns5 | string Existing nameserver to use for DNS lookup of the registered domain. |
id_protection required | boolean Whether or not to order WHOIS ID protection for this domain name. |
register_if_premium required | boolean Register the domain name even if it is a Premium domain, which could be much more expensive. |
use_planethoster_nameservers required | boolean Only set this to true when using 'nsa.n0c.com', 'nsb.n0c.com', and 'nsc.n0c.com' as your ns1, ns2 and ns3 values (ns4 and ns5 should be empty strings in this case). This option creates a DNS zone for the domain name on the nameservers after successful registration. |
addtl_field | object Object that represent additional fields specific for the TLD that is being registered. |
registrant_first_name required | string The first name of the individual registering the domain. |
registrant_last_name required | string The last name of the individual registering the domain. |
registrant_email required | string The email address of the domain registrant, used for communication regarding domain management. |
registrant_company_name | string The name of the company or organization associated with the domain registration. This field can be left blank if the registration is for personal use. |
registrant_address1 required | string The primary street address of the registrant or their organization, including civic number. |
registrant_address2 | string The secondary street address of the registrant, if applicable. This field can be left blank. |
registrant_city required | string The city where the registrant resides or is registered. |
registrant_postal_code required | string The postal or ZIP code of the registrant’s residence. |
registrant_state required | string The state or province where the registrant resides. |
registrant_country_code required | string The two-letter country code representing the registrant’s country of residence. Refer to the country code list here. |
registrant_phone required | string The phone number of the registrant, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France. |
{- "sld": "mydomain",
- "tld": "com",
- "period": 2,
- "ns1": "ns1.resellersite.com",
- "ns2": "ns2.resellersite.com",
- "ns3": "ns3.resellersite.com",
- "ns4": "ns4.resellersite.com",
- "ns5": "ns5.resellersite.com",
- "id_protection": true,
- "register_if_premium": true,
- "use_planethoster_nameservers": true,
- "addtl_field": { },
- "registrant_first_name": "John.",
- "registrant_last_name": "Doe.",
- "registrant_email": "johndoe@mydomain.com.",
- "registrant_company_name": "string",
- "registrant_address1": "123 Parkway Lane.",
- "registrant_address2": "222 rue Halfway.",
- "registrant_city": "Montreal.",
- "registrant_postal_code": "44444.",
- "registrant_state": "Quebec.",
- "registrant_country_code": "CA.",
- "registrant_phone": "+1.5145555555."
}
{- "message": "Domain registration order successfully created",
- "order_id": 2222,
- "order_total": 19.99,
- "expiry_date": "2024-02-02"
}
Renew an already active domain name for 1-10 years.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Renewal parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
period required | integer [ 1 .. 10 ] Number of years to register the domain name. See Tld prices. |
{- "sld": "mydomain",
- "tld": "com",
- "period": 2
}
{- "message": "Domain renewal order created successfully",
- "order_id": "2222",
- "order_total": 9.95
}
Transfer a domain name from your current registrar to PlanetHoster.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Transfer parameters.
sld required | string Domain name without the Top-Level Domain. |
tld required | string TLD without the leading period. |
epp_code required | string Transfer secret is a domain transfer secret (transfer key), a key or code. |
{- "sld": "mydomain",
- "tld": "com",
- "epp_code": "a!8/e!__Ph"
}
{- "message": "Successfully launch transfer"
}
It is a Premium shared hosting platform made by PlanetHoster that offers the latest technology. It is based on a Premium cloud infrastructure located in our data centers in Europe (France and Swiss) and in North America (Canada).
Learn more about World Plateform and World Product.
Displays the World account and all World sub-accounts informations.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/world-api/get-accounts'
{- "nb_active_or_suspended_accounts": 1,
- "total_available_resources": {
- "cpu": 6,
- "io": 12,
- "mem": 12
}, - "world_accounts": [
- {
- "id": 2222,
- "status": "Active",
- "username": "dhshlkdf",
- "domain": "test-domain.com",
- "hostname": "world-server.test.planethoster.net",
- "location": "CA",
- "plateform": "N0C",
- "resources": {
- "cpu": 6,
- "io": 12,
- "mem": 12
}
}
]
}
Creates a World hosting and assigns the requested resources.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Create account parameters.
domain required | string World account principal domain. |
country required | string Enum: "CA" "FR" Country code of the requested location. |
cpu | integer [ 1 .. 8 ] Amount of CPU allocated to the account. |
mem | integer [ 1 .. 24 ] Amount of memory allocated to the account (GB). |
io | integer [ 1 .. 24 ] Amount of I/O allocated to the account (MB/s). |
ls | boolean Select litespeed server |
{- "domain": "test-domain.com",
- "country": "CA",
- "cpu": 1,
- "mem": 1,
- "io": 1,
- "ls": true
}
{- "account_created": true,
- "server_hostname": "world-server.planethoster.com",
- "server_ip": "199.16.XX.XXX",
- "id": 2222,
- "username": "usernamexyz",
- "password": "XXXXXXXXXXXXXXX"
}
Proceed to the suspension of a World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Suspend account parameters.
id required | integer World account ID. Can be found with /get-accounts. |
reason required | string Reason for the suspension. |
{- "id": "2222",
- "reason": "Suspension reason"
}
{- "account_suspended": true,
- "message": "Successfully suspend account",
- "suspension_reason": "Suspension reason"
}
Proceed to the activation of a suspended World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Unsuspend account parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "account_unsuspended": true,
- "message": "Successfully unsuspend account"
}
Proceed to the activation of a suspended World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Modify resources parameters.
id required | integer World account ID. Can be found with /get-accounts. |
cpu | integer [ 1 .. 8 ] Amount of CPUs allocated to the account. |
mem | integer [ 1 .. 24 ] Amount of memory allocated to the account (GB). |
io | integer [ 1 .. 24 ] Amount of I/O allocated to the account (MB/s). |
{- "id": "2222",
- "cpu": 1,
- "mem": 1,
- "io": 1
}
{- "cpu_updated": true,
- "mem_updated": true,
- "io_updated": true,
- "errors": [ ]
}
N0C user related calls.
N0C user ID. Can be found with /get-accounts endpoint.
Generate a free temporary domain to access your main website.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Temporary domain parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": "XXXXX.n0c.world",
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Disable the temporary domain.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Temporary domain parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": {
- "message": "Successfully disable temporary domain.",
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
}
Get SSH keys installed for an account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
SSH keys parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": {
- "keys": [
- {
- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
- "comment": "Home key",
- "fromIps": [
- [
- "1.1.1.1",
- "2.2.2.2"
]
]
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Add a SSH key to the World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
SSH key parameters.
pKey required | string SSH public key. |
comment | string Related comment. |
fromIps | Array of strings |
id required | integer World account ID. Can be found with /get-accounts. |
{- "pKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSkT3A1j89RT/540ghIMHXIVwNlAEM3WtmqVG7YN/wYwtsJ8iCszg4/lXQsfLFxYmEVe8L9atgtMGCi5QdYPl4X/c+5YxFfm88Yjfx+2xEgUdOr864eaI22yaNMQ0AlyilmK+PcSyxKP4dzkf6B5Nsw8lhfB5n9F5md6GHLLjOGuBbHYlesKJKASDSADADASDssdsdsGEcHewOCbVs+IJWBFSi6w1enbKGc+RY9KrnzeDKWWqzYnNofiHGVFAuMxrmZOasqlTIKiC2UK3RssssmLxZicWiQD6i2S9szDy6aZ",
- "comment": "string",
- "fromIps": [
- "1.1.1.1"
], - "id": "2222"
}
{- "data": {
- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
- "message": "Successfully add ssh key"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Edit an existing SSH key.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
SSH key parameters.
key required | string SSH key fingerprint. |
comment | string Related comment. |
fromIps | Array of strings |
id required | integer World account ID. Can be found with /get-accounts. |
{- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
- "comment": "string",
- "fromIps": [
- "1.1.1.1"
], - "id": "2222"
}
{- "data": {
- "message": "Successfully edit ssh key"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove an existing SSH key.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
SSH key parameters.
key required | string SSH key fingerprint. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
- "id": "2222"
}
{- "data": {
- "message": "Successfully delete ssh key"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get all domains of the account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "id": 1111,
- "domain": "mydomain.com",
- "status": "ACTIVE",
- "type": "MAINDOMAIN",
- "docroot": "/home/username/public_html",
- "modsec": true,
- "haveCert": true,
- "certExpireAt": "2022-01-22T10:00:20.000Z"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Add a domain to the World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Add domain parameters.
domain required | string Domain name. |
docroot required | string Domain document root. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "docroot": "public_html/mydomain/",
- "id": "2222"
}
{- "data": {
- "message": "Successfully set domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove the domain from the World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove domain parameters.
domain required | string Domain name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "id": "2222"
}
{- "data": {
- "message": "Successfully remove domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Add a sub-domain to the World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Add sub-domain parameters.
domain required | string Domain name. |
subDomain required | string Sub-domain name. |
docroot required | string Domain document root. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "subDomain": "sub1",
- "docroot": "public_html/mydomain/",
- "id": "2222"
}
{- "data": {
- "message": "Successfully set domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Suspend one or multiple domains.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Suspend domains parameters.
required | Array of objects Domains to suspend. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domains": [
- {
- "domain": "mydomain.com"
}
], - "id": "2222"
}
{- "data": {
- "message": "Domains suspended successfully"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Unsuspend one or multiple domains.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Unsuspend domains parameters.
required | Array of objects Domains to unsuspend. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domains": [
- {
- "domain": "mydomain.com"
}
], - "id": "2222"
}
{- "data": {
- "message": "Domains unsuspended successfully"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Unsuspend one or multiple domains.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Unsuspend domains parameters.
domain required | string Existing domain name. |
docroot required | string Domain document root. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "docroot": "public_html/mydomain/",
- "id": "2222"
}
{- "data": {
- "message": "Successfully set domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get domain redirections.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "domain": "mydomain.com",
- "https": true,
- "rType": 301,
- "domainRedirection": true
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Redirection that will force HTTPS or www, for example.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Internal redirection parameters.
domain required | string Domain name. |
https required | boolean Force HTTPS or not. |
rType required | integer Enum: 301 302 |
www required | boolean Force www or not. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "https": true,
- "rType": 301,
- "www": true,
- "id": "2222"
}
{- "data": {
- "message": "Successfully add redirection"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Redirection that will force HTTPS or www, for example.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
External redirection parameters.
domain required | string Domain name. |
https required | boolean Force HTTPS or not. |
rType required | integer Enum: 301 302 |
destinationDomain required | string Domain you want to redirect to. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "https": true,
- "rType": 301,
- "destinationDomain": "google.com",
- "id": "2222"
}
{- "data": {
- "message": "Successfully add redirection"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Delete redirection for a domain.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Delete redirection parameters.
domain required | string Domain name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "id": "2222"
}
{- "data": {
- "message": "Successfully delete redirection"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get domain WAF logs. What is a Web App Firewall?
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Get WAF logs parameters.
domain required | string Domain name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "id": "2222"
}
{- "data": {
- "hits": [
- {
- "timestamp": "2022-01-22T10:00:20.000Z",
- "request": {
- "geoip": {
- "continent_code": "EU",
- "country_code": "DE",
- "country_name": "Germany",
- "latitude": 51.2299,
- "longitude": 9.9123,
- "ip": "1.1.1.1",
- "timezone": "Europe/Berlin"
}, - "headers": {
- "Host": "mydomain.com",
- "Accept": "*/*",
- "Accept-Encoding": "gzip deflate",
- "Connection": "keep-alive",
- "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0."
}, - "host": "mydomain.com",
- "clientPost": "12345",
- "clientIp": "1.1.1.1",
- "localPort": "80",
- "localIp": "2.2.2.2",
- "method": "GET",
- "uri": "/.env",
- "http_version": "HTTP/1.1",
- "responseStatus": "403",
- "ruleId": 390709
}, - "auditMessages": [
- {
- "details": { }
}
]
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get the domain WAF rules.
What is a Web App Firewall?
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Get WAF rules parameters.
domain required | string Domain name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "id": "2222"
}
{- "data": {
- "allRulesRange": "3001-39780",
- "disabledRules": [
- [
- 1111,
- 2222
]
], - "rules": [
- {
- "description": "Possible spam domain: uribl match of submitted link domain on urirbl.com blocklist.",
- "ids": [
- [
- 1111,
- 2222,
- 3333
]
]
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Update WAF rules for the domain.
What is a Web App Firewall?
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Get WAF rules parameters.
domain required | string Domain name. |
wafDisabledRules required | Array of integers Rules to disable. |
append | boolean Append rules to existing disable rules list or reset with new rules list?' |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "wafDisabledRules": [
- "12345"
], - "append": true,
- "id": "2222"
}
{- "data": {
- "message": "Successfully update rules"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Find the complete dns zone.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Find the complete dns zone.
domain required | string Domain name |
id | integer ID number of the World account. It can be found with the command /get-accounts. |
{- "domain": "mydomain.com",
- "id": "2222"
}
{- "data": [
- {
- "type": "TXT",
- "name": "mail.mydomain.com",
- "ttl": 14400,
- "records": [
- {
- "value": "mydomain.com"
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Will add the default values of the dns zone.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
domain required | string Domain name |
id | integer ID number of the World account. It can be found with the command /get-accounts. |
{- "domain": "mydomain.com",
- "id": "2222"
}
{- "data": [
- {
- "type": "TXT",
- "name": "mail.mydomain.com",
- "ttl": 14400,
- "records": [
- {
- "value": "mydomain.com"
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Allows you to add or modify records on the DNS zone
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
domain required | string Domain name |
id | integer ID number of the World account. It can be found with the command /get-accounts. |
required | Array of objects Records list |
{- "domain": "mydomain.com",
- "id": "2222",
- "rrsets": [
- {
- "type": "TXT",
- "name": "mail.mydomain.com",
- "ttl": 14400,
- "records": [
- {
- "value": "mydomain.com"
}
]
}
]
}
{- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get all account emails.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "id": 1111,
- "domain": "mydomain.com",
- "status": "ACTIVE",
- "email": "myemail@mydomain.com",
- "quota": 0
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Create a new email address.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Add email parameters.
domain required | string Domain name. |
password required | string Email account password. |
mailUser required | string Email user. |
quota | integer Size of the email quota in MB. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "mailUser": "info",
- "quota": 5000,
- "id": "2222"
}
{- "data": {
- "message": "Successfully create email account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove an email address.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove email parameters.
domain required | string Domain name. |
mailUser required | string Email user. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "mailUser": "info",
- "id": "2222"
}
{- "data": {
- "message": "Successfully delete email account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Change the password of an email account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Change the parameters of the password.
domain required | string Domain name. |
mailUser required | string Email user. |
password required | string Email account password. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "mailUser": "info",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "id": "2222"
}
{- "data": {
- "message": "Successfully change password"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Change quota of an email account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Change quota parameters.
domain required | string Domain name. |
mailUser required | string Email user. |
quota required | integer New email quota in MB. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "mailUser": "info",
- "quota": 5000,
- "id": "2222"
}
{- "data": {
- "message": "Successfully change password"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Suspend multiple email addresses.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Suspend emails parameters.
required | object List of emails to suspend. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "emails": {
- "domain": "mydomain.com",
- "mailUser": "info"
}, - "id": "2222"
}
{- "data": {
- "message": "Successfully suspend account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Unsuspend multiple email addresses.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Unsuspend emails parameters.
required | object List of emails to unsuspend. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "emails": {
- "domain": "mydomain.com",
- "mailUser": "info"
}, - "id": "2222"
}
{- "data": {
- "message": "Successfully unsuspend account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
List email authentication.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Email authentication parameters.
domain required | string Domain name. |
mailUser required | string Email user. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "mailUser": "info",
- "id": "2222"
}
{- "data": {
- "usingPhDns": true,
- "dkim": true,
- "spf": true,
- "dMarc": true
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Enable email authentication.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Email authentication parameters.
domain required | string Domain name. |
mailUser required | string Email user. |
auth required | string Enum: "dkim" "spf" "dMarc" Email authentication. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "mailUser": "info",
- "auth": "dkim",
- "id": "2222"
}
{- "data": {
- "message": "Successfully enable DKIM"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Disable email authentication.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Email authentication parameters.
domain required | string Domain name. |
mailUser required | string Email user. |
auth required | string Enum: "dkim" "spf" "dMarc" Email authentication. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "mailUser": "info",
- "auth": "dkim",
- "id": "2222"
}
{- "data": {
- "message": "Successfully disable DKIM"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get World account databases.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "name": "username_dbname",
- "databaseUsers": [
- {
- "name": "username_dbuser",
- "permissions": [
- "ALTER"
]
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Create a new database.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Create database parameters.
name required | string Database name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "name": "newdatabase",
- "id": "2222"
}
{- "data": [
- {
- "message": "Successfully create database"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove database.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove database parameters.
name required | string Database name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "name": "newdatabase",
- "id": "2222"
}
{- "data": [
- {
- "message": "Successfully delete database"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get World account database users.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- [
- "username_dbuser1",
- "username_dbuser2"
]
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Create a new database user.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Create the database user parameters.
dbUser required | string Database name. |
password required | string Email account password. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "dbUser": "newuser",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "id": "2222"
}
{- "data": {
- "message": "Successfully create database user"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove a database user.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove database user parameters.
dbUser required | string Database name. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "dbUser": "newuser",
- "id": "2222"
}
{- "data": {
- "message": "Successfully remove database user"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Grant access to a database for a user.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Grant permission parameters.
databaseName required | string Database name. |
databaseUsername required | string Database username. |
privileges required | Array of any Items Enum: "ALTER" "ALTER ROUTINE" "CREATE" "CREATE ROUTINE" "CREATE TEMPORARY TABLES" "CREATE VIEW" "DELETE" "DROP" "EVENT" "EXECUTE" "INDEX" "INSERT" "LOCK TABLES" "REFERENCES" "SELECT" "SHOW VIEW" "TRIGGER" "UPDATE" |
id required | integer World account ID. Can be found with /get-accounts. |
{- "databaseName": "existing_database",
- "databaseUsername": "existing_user",
- "privileges": [
- "ALTER"
], - "id": "2222"
}
{- "data": {
- "message": "Successfully grant access"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove access to a database for an user.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove permission parameters.
databaseName required | string Database name. |
databaseUsername required | string Database username. |
privileges required | Array of any Items Enum: "ALTER" "ALTER ROUTINE" "CREATE" "CREATE ROUTINE" "CREATE TEMPORARY TABLES" "CREATE VIEW" "DELETE" "DROP" "EVENT" "EXECUTE" "INDEX" "INSERT" "LOCK TABLES" "REFERENCES" "SELECT" "SHOW VIEW" "TRIGGER" "UPDATE" |
id required | integer World account ID. Can be found with /get-accounts. |
{- "databaseName": "existing_database",
- "databaseUsername": "existing_user",
- "privileges": [
- "ALTER"
], - "id": "2222"
}
{- "data": {
- "message": "Successfully remove access"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get world the cron jobs of the World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": {
- "crons": [
- {
- "id": 1,
- "schedule": "* * * * *",
- "command": "whoami"
}
], - "cronEmail": "cronjob@mydomain.com"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Add cron to the World account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Add cron parameters.
schedule required | string Cron schedule. |
command required | string Cron command. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "schedule": "* * * * *",
- "command": "whoami",
- "id": "2222"
}
{- "data": {
- "message": "Successfully set crons"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove an existing cron job.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove cron parameters.
schedule | string Cron schedule. |
cronId required | integer Cron ID. It can be found with /crons. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "schedule": "* * * * *",
- "cronId": "whoami",
- "id": "2222"
}
{- "data": {
- "message": "Successfully set crons"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Set cron email.
This email will receive the stdout of the command.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Set cron email parameters.
email required | string Cron email. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "email": "cronemail@mydomain.com",
- "id": "2222"
}
{- "data": {
- "message": "Successfully set email"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove cron email.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": {
- "message": "Successfully delete cron email"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get all FTP accounts.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "id": 1111,
- "username": "ftpuser@mydomain.com",
- "path": "/home/user1/public_html/ftpuser"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Create an FTP account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
FTP account creation parameters.
domain required | string Domain name. |
ftpUser required | string FTP username. |
path required | string Path related to the FTP account. |
password required | string Email account password. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "ftpUser": "ftpuser1",
- "path": "ftpuser/directory",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "id": "2222"
}
{- "data": {
- "id": 1111,
- "username": "ftpuser@mydomain.com",
- "path": "/home/user1/public_html/ftpuser"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove an FTP account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Remove FTP account creation parameters.
domain required | string Domain name. |
ftpUser required | string FTP username. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "ftpUser": "ftpuser1",
- "id": "2222"
}
{- "data": {
- "message": "Successfully delete ftp user."
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Change the password of the FTP account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
FTP change password parameters.
domain required | string Domain name. |
ftpUser required | string FTP username. |
password required | string Email account password. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "ftpUser": "ftpuser1",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "id": "2222"
}
{- "data": {
- "message": "Successfully update ftp password"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Update the path of the FTP account.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
Parameters for changing FTP account path.
domain required | string Domain name. |
ftpUser required | string FTP username. |
path required | string Path related to the FTP account. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "domain": "mydomain.com",
- "ftpUser": "ftpuser1",
- "path": "ftpuser/directory",
- "id": "2222"
}
{- "data": {
- "message": "Successfully update ftp path"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
List all active connections.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "pid": "267888",
- "account": "ftpuser@mydomain.com",
- "time": 78,
- "state": "IDLE",
- "host": "1.1.1.1.",
- "localhost": "myserver2.n0c.ca",
- "localport": "21"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get Wordpress paths installed.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account ID parameters.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- [
- "/home/username/public_html",
- "/home/username/wp/site1"
]
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Wordpress installation
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
adminUser required | string The administrator user |
adminPassword required | string Administrator password |
adminEmail required | string Administrator e-mail |
domain required | string The associated domain name |
path required | string The installation path |
title required | string The wordpress title |
locale | string Default: "fr_FR" Wordpress locales |
id required | integer World account ID. Can be found with /get-accounts. |
{- "adminUser": "JohnDoe",
- "adminPassword": "(%S0L1dP@SsW0RdZ%&)",
- "adminEmail": "john@doe.com",
- "domain": "domaineexample.com",
- "path": "/blog",
- "title": "Blog PlanetHoster",
- "locale": "fr_FR",
- "id": "2222"
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Removing a wordpress installation
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
path required | string The installation path |
id required | integer World account ID. Can be found with /get-accounts. |
{- "path": "/blog",
- "id": "2222"
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
List the cms available for installation and their versions.
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "name": "joomla",
- "availableVersions": [
- {
- "tag_name": "1.1.1",
- "name": "Joomla! 1.1.1",
- "php_min_version": "7.2.5",
- "php_current": "7.2.5",
- "php_ok": true,
- "php_extensions": [
- [
- "phar",
- "gd"
]
], - "missing_extensions": [
- [
- "gd"
]
]
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Start the installation of a CMS
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
cmsType required | string CMS type |
path required | string The installation path |
domain required | string The domain of the CMS |
siteName required | string The title of the CMS |
adminName required | string The administrator user |
adminPassword required | string The admin password |
email required | string Administrator's email |
www | boolean Default: false Force the www |
https | boolean Default: true Force the HTTPS |
id required | integer World account ID. Can be found with /get-accounts. |
{- "cmsType": "joomla",
- "path": "jooomla-test/",
- "domain": "exampledomain.com",
- "siteName": "Mon joomla de test",
- "adminName": "JoomlaAdmin",
- "adminPassword": "(%S0L1dP@SsW0RdZ%&)",
- "email": "john@doe.com",
- "www": false,
- "https": true,
- "id": "2222"
}
{- "data": "12fa6890-a2a2-223ea-a22a-847de9698035",
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
List the CMS installed on the hosting
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "path": "/home/username/public_html",
- "cmsType": "joomla",
- "cmsConfig": {
- "domain": "www.domain.com/joomla"
}
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
List CMS that have recently been installed or are in the process of being installed
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": [
- {
- "id": "12fa6890-a2a2-223ea-a22a-847de9698035",
- "status": "running",
- "cmsType": "joomla",
- "time": "2023-05-25T14:40:01.922798012Z",
- "installParams": {
- "tagName": "1.1.1",
- "user": "doexcvbn",
- "domain": "exampledomain.com",
- "path": "jooomla-test/"
}
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Delete a CMS installation
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
path required | string Installation path |
id required | integer World account ID. Can be found with /get-accounts. |
{- "path": "/jooomla-test",
- "id": "2222"
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve performance data
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
periodType required | string Enum: "day" "hour" The type of period you are looking for |
period required | number [ 1 .. 90 ] Search period |
id required | integer World account ID. Can be found with /get-accounts. |
{- "periodType": "day",
- "period": 30,
- "id": "2222"
}
{- "data": [
- { }
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Returns disk space usage (response always in BYTE)
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
id required | integer World account ID. Can be found with /get-accounts. |
{- "id": "2222"
}
{- "data": {
- "total": 216896757,
- "diskUsage": { },
- "dbUsage": { }
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Web server statistics (Visits)
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
period required | number Enum: "30d" "7d" "24h" "12h" "1h" Search period |
domain required | string The target domain |
id required | integer World account ID. Can be found with /get-accounts. |
{- "period": "7d",
- "domain": "domainexample.com",
- "id": "2222"
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Web server statistics (Visits)
X-API-USER required | string API user provided in the client area. |
X-API-KEY required | string API key provided in the client area. |
World account settings credentials.
period required | number Enum: "30d" "7d" "24h" "12h" "1h" Search period |
domain required | string The target domain |
id required | integer World account ID. Can be found with /get-accounts. |
{- "period": "7d",
- "domain": "domainexample.com",
- "id": "2222"
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}