Domain infrastructure for Zimbabwe and beyond
Support centreUSDWonderweb Technologies

DEVELOPER CENTRE

API documentation

Guides, endpoint reference and integration best practices.

WHMCS registrar module

Get the current integration package and setup instructions.

Download module

Quickstart

Make your first successful read request without creating an order, deposit or registrar purchase.

1. Prerequisites

You need an approved reseller account, an API key with the relevant read scopes, a server-side environment and outbound HTTPS connectivity.

Create an account and follow the approval instructions. An active account can issue a key in its Developer Centre.

2. Check service availability

Bash
curl --request GET \\n  --header "Accept: application/json" \\n  "https://api.wonderweb.co.zw/v1/health/"

Inspect the HTTP status and response body. A health response only indicates the API service; it is not evidence that a domain is available or a purchase can be completed.

3. Read your key into a local variable

Local shell
read -r -s -p 'Wonderweb API key: ' WW_API_KEY
printf '\n'
export WW_API_KEY

For a production service, load the credential from a protected environment variable or secret manager. Do not place it in command history or source control. On multi-user systems, use a protected curl configuration or an HTTP client rather than passing expanded secrets in process arguments.

4. Verify the account identity

Bash
curl --request GET \\n  --header "Accept: application/json" \\n  --header "Authorization: Bearer $WW_API_KEY" \\n  "https://api.wonderweb.co.zw/v1/account/"

Verify that the response belongs to the expected reseller account. Do not use an account identifier from an untrusted browser request to select another account.

5. Retrieve current pricing

Bash
curl --request GET \\n  --header "Accept: application/json" \\n  --header "Authorization: Bearer $WW_API_KEY" \\n  "https://api.wonderweb.co.zw/v1/pricing/"

6. Request an indicative domain quote

Bash
curl --request GET \\n  --header "Accept: application/json" \\n  --header "Authorization: Bearer $WW_API_KEY" \\n  "https://api.wonderweb.co.zw/v1/quotes/?domain=example.com&operation=register"

The example uses a known domain to illustrate pricing only. A quote does not prove the domain is available. After local testing, unset the shell variable.

Bash
unset WW_API_KEY

Next: endpoint reference and error handling.