Skip to main content

WAP API

Chapter Introduction

The WAP API is a core component of the Eenos ecosystem, providing secure and direct access to system-level operations. It is designed for administrative automation, enabling external systems to interact with Eenos for managing hosting services, accounts, and server operations.

This chapter focuses specifically on the WAP API layer, which is primarily used for control panel integration, infrastructure management, and backend automation tasks. It serves as the foundation API layer within the Eenos architecture and is commonly integrated with billing systems, monitoring tools, and provisioning platforms.

Unlike higher-level APIs such as the Reseller API or EAPI, the WAP API operates at the system administration level, offering broader control over server and hosting resources.

Purpose

The WAP API allows secure programmatic access to administrative functions inside Eenos. It is intended for trusted environments where system automation and backend integration are required.

With the WAP API, you can:

  • Manage hosting accounts and system users
  • Perform server and service-level operations
  • Retrieve system statistics and operational data
  • Integrate Eenos with external automation platforms
  • Automate administrative workflows

Scope of This Chapter

This chapter covers:

  • API authentication and login structure
  • Request and response format
  • Endpoint structure and versioning
  • Core API operations with examples
  • Error handling and status codes
  • Best practices for secure usage


Introduction

What is WAP API? The WAP API is a REST-based interface used to manage Eenos accounts, resellers, ...

Create API Logins

Manage API Access This document explains how to create API logins (X-API-USER and X-API-PASSWORD)...

Connect and Test API Login

Testing API Access In the previous step, you created an API account in the Eenos WAP Portal. Now ...

test_connection

Test API Connection This function is to test the API connection to the server via api request its...

load-average

Load Average This is to get the server load average via API. Required Headers Field Description E...

version

Eenos version Get the version of the Eenos control panel  from your server Required Headers Field...

createacct

Create Account This is to create an eenos hosting account. You can also create a hosting account ...

passwd

Password Change API Change the Eenos user account password. Required Headers Field Description  E...

editquota

Edit Disk Quota To change the disk quota of a hosting account. Required Headers Field Description...

changepackage

Change Hosting Package To change the hosting plan or package of an Eenos account. This is the opt...

changecontactemail

Change Contact Email To change the contact email address of an eenos hosting account Required Hea...

suspendacct

Suspend Eenos Account To suspend an eenos hosting account via API. Required Headers Field Descrip...

unsuspendacct

Un-suspend Eenos Account To un-suspend an Eenos hosting account via API. Required Headers Field  ...

removeacct

Delete Eenos Account To remove an Eenos hosting account via API. Required Headers Field Descripti...

setupreseller

Make Reseller To enable reseller privileges on the hosting account. Required Headers Field Descri...

uappsso

Eenos  User Single Sign-On To create a quick login url for the Eenos hosting account. Required He...

wapsso

Single Sine-On for WAP To create a quick SSO login url for the admin control panel of the Eenos. ...

rappsso

Reseller Single Sign-On To generate a quick login url for the Eenos reseller account. Required He...

suspendreseller

Suspend Eenos Reseller Account To suspend eenos reseller hosting account via API. Required Header...

unsuspendreseller

Un-suspend Eenos  Reseller Account To un-suspend Eenos reseller hosting account via API. Required...

terminatereseller

Delete Eenos  Reseller Account To remove an Eenos reseller hosting account via API. Required Head...

get_current_users_count

Find the total number of eenos user accounts To find the total number of eenos hosting accounts. ...

get_current_reseller_count

Find the total number of eenos reseller accounts To find the total number of Eenos reseller hosti...

listsuspended

List Suspended Accounts To find suspended Eenos hosting accounts. Required Headers Field Descript...

accountsummary

Show Eenos Account Summary To find the Eenos hosting account details. Required Headers Field Desc...

listaccts

List All Eenos Accounts To list all Eenos hosting accounts via API. Required Headers Field Descri...

listpackages

List All Eenos Hosting packages To list all Eenos hosting packages via API. Required Headers Fiel...

usagestatistics

Get  Eenos Accounts usage metrics To get all Eenos hosting account usage metrics via api. This wi...