List the saved Hetzner Cloud project's servers
curl --request GET \
--url https://app.factorize.sh/api/v1/hetzner/servers \
--cookie factorize_session=import requests
url = "https://app.factorize.sh/api/v1/hetzner/servers"
headers = {"cookie": "factorize_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'factorize_session='}};
fetch('https://app.factorize.sh/api/v1/hetzner/servers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.factorize.sh/api/v1/hetzner/servers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "factorize_session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.factorize.sh/api/v1/hetzner/servers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "factorize_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.factorize.sh/api/v1/hetzner/servers")
.header("cookie", "factorize_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.factorize.sh/api/v1/hetzner/servers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'factorize_session='
response = http.request(request)
puts response.read_body{
"servers": [
{
"id": 123,
"name": "<string>",
"status": "<string>",
"location": "<string>"
}
],
"truncated": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}hetzner
List the saved Hetzner Cloud project's servers
Owner browser session only. Returns up to 100 servers with basic inventory fields only. Factorize does not expose addresses, labels, or credentials.
Requires the integrations:read scope.
An interactive owner session is required; bearer tokens cannot call this operation.
GET
/
api
/
v1
/
hetzner
/
servers
List the saved Hetzner Cloud project's servers
curl --request GET \
--url https://app.factorize.sh/api/v1/hetzner/servers \
--cookie factorize_session=import requests
url = "https://app.factorize.sh/api/v1/hetzner/servers"
headers = {"cookie": "factorize_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'factorize_session='}};
fetch('https://app.factorize.sh/api/v1/hetzner/servers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.factorize.sh/api/v1/hetzner/servers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "factorize_session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.factorize.sh/api/v1/hetzner/servers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "factorize_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.factorize.sh/api/v1/hetzner/servers")
.header("cookie", "factorize_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.factorize.sh/api/v1/hetzner/servers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'factorize_session='
response = http.request(request)
puts response.read_body{
"servers": [
{
"id": 123,
"name": "<string>",
"status": "<string>",
"location": "<string>"
}
],
"truncated": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}