Incpritech developers

inchost API

Automate domains, DNS, hosting, email, databases, SMS and wallet top-ups.

The inchost API lets customers and resellers do everything they can in the dashboard from their own code: top up the wallet, register and renew domains, edit DNS and nameservers, order and renew hosting, manage mailboxes, databases and subdomains, and send SMS.

The full, always-current reference lives at inchost.incpritech.com/docs.

Permissions

  • read: every key can view the account, domains, hosting and SMS.
  • manage: change DNS, nameservers, mailboxes and databases, request sender IDs, top up the wallet.
  • spend: register, renew, order hosting and send SMS from the wallet.

Examples

# Check a domain and its price
curl https://inchost.incpritech.com/api/v1/domains/check -H "Authorization: Bearer ih_live_YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"domain":"yourshop.co.tz"}'

# Top up the wallet (sends a mobile money prompt)
curl https://inchost.incpritech.com/api/v1/wallet/topups -H "Authorization: Bearer ih_live_YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"amount":20000,"phone":"0712345678"}'

# Order hosting for a year
curl https://inchost.incpritech.com/api/v1/hosting -H "Authorization: Bearer ih_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"planId":"business","term":"yearly","domain":"yourshop.co.tz"}'

Hosting plans are starter, business and pro, and for verified students scholar_lite, scholar and scholar_pro. Terms are monthly, yearly (2 months free) and once (3 years, 25% off).