Customer API

An API for hosting, domains and billing

Control VPS instances from your dashboard or sell domains in your own shop. Your accounts team can use the same API to retrieve invoice PDFs at month end.

Example agency portal
Project overview
Power status
web-01
Running
staging-01
Stopped
mail-01
Running
GET/hosting/vps/{productHostingNumber}/status
Next renewal
example.org
15 June
example.net
22 June
example.com
8 July
GET/domains
Document
January
PDF
February
PDF
March
PDF
GET/invoices

What you can build with the Customer API

Manage servers from your dashboard

See which VPS instances are running in your dashboard. You can start or stop each server from the same view.

Explore hosting requests

Sell domains in your shop

Customers can see whether their preferred domain is available and how much it costs as soon as they search. Your shop can register a domain or transfer it to hostworld.de using its auth code.

Explore domain search

Collect invoices at month end

Retrieve the month’s invoices and credit notes. Your accounts team can see the payment status and file the PDF documents alongside it.

Retrieve invoice PDFs

Set up mailboxes for your team

Create an email hosting mailbox for a new team member. Your application can also assign storage or create a dedicated IMAP credential for a device.

Manage mailboxes

Automate DNS for certificates

Let your ACME client create the TXT record for Let’s Encrypt in a DNS zone hosted by hostworld.de. The client can remove the record once validation is complete.

See the DNS example

Track orders and contracts

Check the status of an order in your order management system. You can also look up your active hosting contracts there.

Look up orders and contracts

Connect to the Customer API with AI

Build a calendar of domain renewals, list your hosting plans or add a start button for your VPS. Choose what you want your application to do.

Choose your coding assistant and paste the prompt into a new chat. You can start in an empty folder.

Choose your coding assistant

Help me use the hostworld.de Customer API. First ask which of my domains, hosting plans or servers I want to work with. Do I want an overview or a change, such as updating a DNS record? Write a script for my chosen task that runs from an empty folder. Use the requests and token permissions documented at https://www.hostworld.de/en/customer-api/documentation Test with sample data. When I run the tool later, read the token from HOSTWORLD_TOKEN and send it only to https://cp.hostworld.de/api/v1. Keep it out of the chat, browser and logs. Use read for the product list. For changes, use a separate token with the required permission. Before any live change, ask me to confirm the account, the product and what will happen.

Start by asking what I want to do with the hostworld.de Customer API. For example, do I want to see domain renewal dates, list hosting plans or start a server? Create a working example for the products I choose in a new folder and show me how to run it. Use the requests and token permissions documented at https://www.hostworld.de/en/customer-api/documentation Test with sample data. When I run the tool later, read the token from HOSTWORLD_TOKEN and send it only to https://cp.hostworld.de/api/v1. Keep it out of the chat, browser and logs. Use read for the product list. For changes, use a separate token with the required permission. Before any live change, ask me to confirm the account, the product and what will happen.

Help me build a tool for my domains, hosting plans or servers at hostworld.de. First ask which products I want to include and what I want to look up or do. Show me how it works, starting in an empty folder. Use the requests and token permissions documented at https://www.hostworld.de/en/customer-api/documentation Test with sample data. When I run the tool later, read the token from HOSTWORLD_TOKEN and send it only to https://cp.hostworld.de/api/v1. Keep it out of the chat, browser and logs. Use read for the product list. For changes, use a separate token with the required permission. Before any live change, ask me to confirm the account, the product and what will happen.

Get access to the Customer API

Use the Customer API to manage your own domains and hosting products directly from your software.

API access in the Customer Menu
  1. 1
    Open API access

    Find your personal API key under “Account → API access” in the Customer Menu. If you use several customer accounts, each account has its own key.

  2. 2
    Create an application token

    Use your account key with POST /api/v1/tokens to create a named token for your script. Choose its permissions when you create it. For a read-only application, request read.

  3. 3
    Check the connection

    GET /api/v1/me returns the account and the token’s permissions. The documentation has a request you can try.

Choose permissions for your application

A domain renewal calendar only needs read access. Your certificate client also needs permission to change DNS records. You can revoke individual application tokens in the Customer Menu.

Explore requests and examples
read
Read your domains, hosting products, contracts and orders.
dns:write
Create, update and delete records in DNS zones hosted by hostworld.de.
domains:write
Change nameservers, manage DNSSEC and retrieve a domain’s auth code.
server:control
Run commands your product supports, such as starting or stopping a VPS.
billing:read
Retrieve invoices, your balance and payment methods. This permission also lets an application initiate a payment.
orders:write
Register and transfer domains, cancel contracts and request withdrawal of a domain cancellation.
account:write
Update account details and issue additional tokens with up to the same permissions.