This is an old revision of the document!

Dedibox Order API Overview

Online by Scaleway allows ordering of Dedibox dedicated servers easily from the API.

  • You have an account and are logged into [](
  • You have already ordered a product from the management console
  • You have a valid payment method (SEPA, Credit Card or Paypal)
  • You have retrieved your API token.
  • You have curl on your local computer.

Getting the Product ID

The first question you ask yourself when ordering a dedicated server is: Which server do I want?

For this reason, we provide you an endpoint /api/v1/dedibox/plans.

This endpoint also returns miscellaneous information such as the price, technical specifications as well as the available stock in the datacenters.

$ # Replace $OAUTH_ACCESS_TOKEN with your personal token
$ curl -s -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN"
    "Start Range": {
        "Start-2-XS-SATA": {
            "id": 4445,
            "price": "7.99",
            "specs": {
                "cpu": "Intel® C2350 (Avoton)",
                "ram": "4 GB",
                "disks": "1 x 500 GB",
                "bp": "1Gbit/sec",
                "policer_rate": "1 Gbit/sec",
                "customizable": false
            "stocks": [
                    "datacenter": {
                        "id": 2,
                        "name": "DC2",
                        "address": "29 rue Edith Cavell",
                        "zip": "94400",
                        "city": "Vitry",
                        "country": "FR"
                    "stock": 12
            "slug": "Start-2-XS-SATA"

To order a Start-2-XS-SATA from the Start commercial range, take a note of the ID 4445.

Obviously, if the stock of a datacenter is equal to 0, it will not be possible to order this product in this location.

Getting Available Options and Add-ons

This step is optional. If you do not wish options nor addons you can go right away to the next step.

To view the available options and add-ons, can call the following endpoint: /api/v1/dedibox/options/<product id>?support=<support level>

Replace <product id> with the ID of the offer Start-2-XS-SATA (e.g. 4445) and <support level> with the support level you desire (basic or business).

$ curl -s -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN"
    "ftp": [
            "id": 890,
            "description": "Backup 100GB",
            "price": "0",
    "storage": [...],
    "antidos": [...],
    "network": [...],
    "rsync": [...],
    "addons": [
            "product": {
                "id": 912,
                "description": "USB drive 500 GB",
                "price": "35",
            "category": "usb",
    "category_quotas": {
        "hdd": 5,
        "usb": 1

The table below describes the response returned by the API.

ftpBackup via ftp options.
storageStorage (SAN) options.
antidosAntiDoS protection options.
networkNetwork related options.
rsyncBackup via Rsync options.
addonsAddons list and categories (USB or HDD).
category_quotasDefines the addons quota per category (usb

In the previous example, for the Start-2-XS-SATA it would be possible to order at most 5 hdd and 1 usb drive.|

Ordering Example

If you do not want to order any options, you still have to fill in 3 parameters:

product: ID of the product datacenter: ID of the desired datacenter or “any” to let the API choose automatically support: basic for basic support, business for advanced support

$ curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN" -d '{"product": 4445, "datacenter": "any", "support": "basic"}'
    "id": 4946383

The API returns an order ID which can be used to know whether or not your server was provisionned and when.

$ curl -s  -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN"
    "delivered": false
If the network key is not provided, and the only option available is RPN-E, it is automatically included in your order at no charge. In all other cases, we won't include any services by default.

Ordering with Addons and Options

Following is a complete example showing how to order a server with options and addons (USB and HDD).

$ curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN" -d '{
    "product": 4369,
    "datacenter": "any",
    "support": "business",
    "ftp": 890,
    "storage": 3625,
    "antidos": 776,
    "network": 3485,
    "rsync": 765,
    "addons": {
        "912": { "quantity": 1 },
        "1031": { "quantity": 2 }
    "id": 3492932

The table below explains what was ordered.

datacenterAny datacenter available
supportbusiness support
ftpBackup FTP of 100 GB
storageSAN storage of 1 TB (via RPN)
antidosCurative antidos option
networkRPN G
rsyncRPN Rsync 500
addons912 = USB drive of 500 GB / 1031 = HDD of 8 TB

Useful Links


Get your private token: