Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

CloudFive API: manage your services by code.

A script, an automation or an assistant can check your servers, restart them, start a backup or read your invoices with a personal API key. Never with your password.

API keys

One key, two levels of rights.

Every key starts with cf_ and acts on your behalf. On a service shared with you, it can only do what your access allows.

My API keys
  • Read onlySee your services, their status, their metrics, your invoices and your protection, without changing anything.
  • Read and actionsStart, stop, restart, back up, send a command, change settings. Keep it secret like a password.
  • Protected creationIn Account, Security, "Access, API and SSH keys", with your password and your two-factor code. The key is shown only once.
  • Limited lifetimeOne year at most, removed automatically after 90 days without use, 10 active keys at most.
  • LoggedLast use and IP address shown for each key; every action made with a key appears in the log with its name.

Authentication

One address, one header.

All requests go over HTTPS and answer in JSON. A service number ({id}) is the one returned by the list of services.

  • Base URLhttps://api.cloudfive.fr
  • HeaderAuthorization: Bearer cf_…
  • ErrorsAn error object with a code and a plain message: 401 for an invalid, removed or expired key, 403 for an action not open to keys, 429 above the limit.
  • Limit300 requests per minute per key.

The main endpoints.

A selection of the addresses open to keys. "Actions" needs a "read and actions" key.

  • GET /v1/servicesThe list of your services, with their number, type, plan and status. · Reading
  • GET /v1/services/{id}The details of a service: status, IP address, limits, next due date. · Reading
  • GET /v1/services/{id}/statsThe service metrics (CPU, memory, disk, network) over 1 hour, 24 hours, 7 days or 30 days. · Reading
  • POST /v1/services/{id}/powerStart, stop, restart or force stop: start, stop, restart or kill. · Actions
  • GET /v1/services/{id}/backupsThe list of the service backups. · Reading
  • POST /v1/services/{id}/backupsStart a backup now. · Actions
  • POST /v1/game/{id}/commandSend a command to a game server console. · Actions
  • GET /v1/vm/{id}/snapshotsThe list of a VPS snapshots. · Reading
  • POST /v1/vm/{id}/snapshotsTake a snapshot of a VPS. · Actions
  • GET /v1/billing/invoicesYour invoices. · Reading
  • GET /v1/ddos/summaryThe anti-DDoS protection summary for the IP addresses of your services. · Reading
  • GET /v1/alertsThe current alerts on your services. · Reading

One example per family.

Replace 1234 with your service number. The key stays in a variable, never in a shared file.

Services and metrics
export CF_CLE="cf_..."   # your key, copied from the customer area

curl -s -H "Authorization: Bearer $CF_CLE" https://api.cloudfive.fr/v1/services

curl -s -H "Authorization: Bearer $CF_CLE" "https://api.cloudfive.fr/v1/services/1234/stats?range=24h"
Start, stop, restart
curl -s -X POST -H "Authorization: Bearer $CF_CLE" \
  -H "Content-Type: application/json" -d '{"action":"restart"}' \
  https://api.cloudfive.fr/v1/services/1234/power
Backups and snapshots
curl -s -X POST -H "Authorization: Bearer $CF_CLE" https://api.cloudfive.fr/v1/services/1234/backups

curl -s -X POST -H "Authorization: Bearer $CF_CLE" \
  -H "Content-Type: application/json" -d '{"name":"avant-mise-a-jour","withRam":false}' \
  https://api.cloudfive.fr/v1/vm/1234/snapshots
Game server console
curl -s -X POST -H "Authorization: Bearer $CF_CLE" \
  -H "Content-Type: application/json" -d '{"command":"say Bonjour"}' \
  https://api.cloudfive.fr/v1/game/1234/command
Invoices and protection
curl -s -H "Authorization: Bearer $CF_CLE" https://api.cloudfive.fr/v1/billing/invoices

curl -s -H "Authorization: Bearer $CF_CLE" https://api.cloudfive.fr/v1/ddos/summary

Limits

What a key never does.

A key opens a closed list of addresses. Everything else is refused, including an address added later.

  • Account securityPassword, two-factor authentication, sign-in, and key management itself.
  • Lasting accessPeople and team members, SSH keys, machine passwords, share links, terminals: nothing that would outlive the removal of the key.
  • AdministrationKeys are for customer accounts only: never for CloudFive staff or partner accounts.
  • Orders and paymentsOrdering, paying, cancelling or opening a ticket is done signed in to the customer area.
  • Cloud and CloudWorkYour files and documents are not open to API keys.

Frequently asked questions.

Where do I create an API key?

In the customer area, under Account, Security, "Access, API and SSH keys". Name the key, choose read only or read and actions, then confirm with your password and, if it is on, your two-factor code. The key is shown only once: copy it right away.

What is the difference between "read only" and "read and actions"?

A read-only key sees your services, their status, their metrics, your invoices and your protection, without changing anything. A "read and actions" key can also start, stop, restart, start a backup, send a console command or edit files. The raw content of files, which often holds passwords, needs a "read and actions" key.

What if my key has leaked?

Remove it from the same page of the customer area: anything using it loses access at once, live streams included. Changing your password or signing out your other devices also removes all your keys.

How long does a key stay valid?

One year after it is created. A key unused for 90 days is removed automatically. You can have up to 10 active keys.

Can I order, pay or cancel with an API key?

No. A key only does what is on a closed list: see and control your services, read your invoices and set your protection. Orders, payments, cancellations, tickets, account security and administration need you to sign in to the customer area.

Is there a request limit?

Yes: 300 requests per minute per key. Above that, the API answers 429; wait a few seconds before going on. Some operations, such as diagnostics, have a lower limit.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketA reply in under 30 minutes, 7 days a week: the assistant answers right away.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay