Customer API

Control your servers with code

Query products and prices, order with credit, fetch access data, start, reinstall and back up servers. Every key only has the rights you choose.

Open the API documentation Log in

What you get done with the API

The API covers your account, ordering and server management. You grant separate rights for each area.

Your first call in three steps

Check in the sandbox first, then send real calls.

  1. Create a key

    In the client area under Account, API keys you set a name, rights and allowed IPs. The key is shown exactly once.

  2. Test it

    Enter the key in the documentation and check it there, or call the API with curl.

  3. Sandbox first

    With the sandbox header, the API only checks keys and permissions and changes nothing. Then you send real calls.

Check your keySandbox

Request

$ curl -s "$MJ_API/v1/ping" \
  -H "Authorization: Bearer $MJ_KEY" \
  -H "X-MJ-Sandbox: 1"

Response

{
  "ok": true,
  "client_id": 42,
  "scopes": ["account:read", "services:read"],
  "sandbox": true
}

$MJ_API is the address from the documentation, $MJ_KEY your key. With the header X-MJ-Sandbox: 1 the call changes nothing.

Secure from the start

A key can only do what you allow it to.

Requirements

You can use the API with a confirmed email address and at least one active service. We unlock new accounts once.

Open the API documentation

Test first, order later.

Test a server for 24 hours free of charge. With at least 5,00 € credit it starts right away, otherwise we approve your request.

  1. Choose a package

    Pick a test package and request it.

  2. Start or approval

    With credit right away, otherwise after our review. Your credit is not charged.

  3. Test for 24 hours

    Free of charge. Then you decide whether to keep the server.

Test for free

Jo, the MAM-JAHN mascot, is happy