Generate API Key
Create a new key for the API Gateway.
Production Developer API
Use the API to access active services, perform available actions, and retrieve product catalogs according to your integration needs.
https://api.faithserver.com/api/v1API keys can only access active services registered in the key owner's account.
Find it faster
All endpoints are displayed.
Quick Start
These four steps take you from key creation to the first action without using the service's internal ID.
Open the Client Area, go to the API Keys menu, then create a new key.
Run GET /servers to see active services.
Use the field id as a Public Service ID.
Select the endpoint according to the product and field allowed_actions.
curl -H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
+ https://api.faithserver.com/api/v1/serversAuthentication
Every request must use a Bearer token in the Authorization header. Do not send keys via query strings, form bodies, or parameters api_key.
https://api.faithserver.com/api/v1Authorization: Bearer <API_KEY>curl -H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
+ https://api.faithserver.com/api/v1/serversconst response = await fetch("https://api.faithserver.com/api/v1/servers", {
headers: {
Authorization: "Bearer fs_live_xxxxxxxxxxxxxxxxx"
}
});
const data = await response.json();$curl = curl_init("https://api.faithserver.com/api/v1/servers");
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx"
],
]);
$response = curl_exec($curl);
curl_close($curl);API Key management
The full API key is only displayed once. Store it safely and revoke it immediately if the key is lost or leaked.
Create a new key for the API Gateway.
Limit key use to certain IP addresses. If empty, the key can be used from any IP.
Change the key name and whitelist the IP.
Deactivate the key so it can no longer be used.
View active services that are synchronized from the Client Area.
Fundamental concepts
Fields id from GET /servers. Do not use invoice IDs, IP addresses, or third-party panel IDs.
API keys only reach active services on the same account.
List of actions that are actually available for the service.
Jobs helps monitor the process; logs record actions and can mask sensitive fields.
The console URL contains a temporary token and must be maintained like a credential.
Features vary by product, region, status, and server configuration.
Reinstall deletes data. Make sure backup is available before running it.
Product selector
Use the following navigation to navigate to the appropriate capability and endpoint.
Endpoint documentation
Use this section to find active services, read status, and monitor logs and jobs.
/serversDisplays all active servers connected with the API key.Not required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers{
"success": true,
"data": [
{
"id": "fsrv_111",
"name": "VPS AMD 1",
"region": "SG",
"product": "Premium VPS Multi-region",
"status": "active",
"allowed_actions": ["status", "start", "stop", "reboot", "reinstall", "console"]
}
]
}/servers/{service_id}Displays brief server details based on Public Service ID.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/servers/{service_id}/statusCheck server status directly from the service system.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/status/servers/{service_id}/overviewDisplays a summary of servers, regions, IP addresses, packages, and capabilities.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/overview/servers/{service_id}/actionsDisplays action logs per server.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/actions/logsDisplays all API logs.Not required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/logs/jobsDisplays a list of jobs.Not required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/jobs/jobs/{job_id}Displays specific job details.job_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/jobs/6{
"success": true,
"data": {
"id": 6,
"service_id": "fsrv_111",
"action": "reinstall",
"status": "running",
"message": "Windows installer started. Waiting for Windows installation to complete."
}
}Endpoint documentation
Retrieve product variants for websites, panels, or external integrations without changing catalog data.
/product/variants/premiumvpsShowing available Premium VPS Multi-region variants.regionlocationrefreshNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/product/variants/premiumvps?region=SG{
"success": true,
"product": "premiumvps",
"meta": {"count": 6, "regions": ["SG"], "locations": ["SIN-11"]},
"data": [{
"id": "leaseweb-sin-11-vps02-1",
"region": "SG",
"location": "SIN-11",
"plan_code": "VPS-1",
"cpu_cores": 4,
"ram_gb": 6,
"disk_gb": 100,
"bandwidth_tb": 30,
"pricing": {"monthly_idr": 210000, "monthly_label": "210k/bulan"},
"available": true
}]
}/dedicated/variantsDisplays the Flexible Dedicated Server variant of the dynamic auction catalog.min_ramdisk_typeqNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/dedicated/variants?min_ram=64&disk_type=NVMe{
"success": true,
"data": [{
"code": "intel-core-i9-13900-128gb-2x1tb-nvme",
"name": "Intel Core i9-13900 128GB 2x1 TB NVMe",
"available": true,
"available_count": 1,
"spec": {
"cpu": "Intel Core i9-13900",
"memory_gb": 128,
"storage": "2x1 TB NVMe",
"network_speed": "1 Gbit/s",
"datacenter_display": "Germany / Finland"
},
"pricing": {
"monthly_idr": 2100000,
"weekly_idr": 570000,
"monthly_display": "Rp 2.100.000/bulan",
"weekly_display": "Rp 570.000/minggu"
}
}]
}/dedicated/leaseweb/variantsFeatures the Global Dedicated Server variant.min_ramlocationaccountlimitoffsetNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/dedicated/leaseweb/variants?min_ram=32&limit=20{
"success": true,
"data": [{
"provider": "leaseweb",
"code": "de-dell-r730xd-128gb-fra-01",
"account": "de",
"name": "Dell R730XD (12xLFF) 2x Intel Xeon E5-2620v4",
"available": true,
"spec": {
"cpu": "Dual Intel Xeon E5-2620v4 (16 cores)",
"memory_gb": 128,
"storage": "4xSATA 2 TB",
"location": "FRA-01",
"datacenter_display": "Germany FRA-01",
"network": "1 x GE port UTP"
},
"pricing": {"monthly_idr": 3230000, "setup_fee_idr": 0, "initial_due_idr": 4200000, "monthly_display": "Rp 3.230.000/bulan"}
}]
}Endpoint documentation
Use osid to reinstall Budget VPS and always grab the latest template from endpoint images.
/servers/{service_id}/startTurning on the server.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/start/servers/{service_id}/stopPower off the server.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/stop/servers/{service_id}/rebootReboot the server.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/reboot/servers/{service_id}/consoleCreate a temporary VNC console URL.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/console/servers/{service_id}/rescue/statusCheck rescue mode status.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/rescue/status/servers/{service_id}/rescue/enableActivate rescue mode if available.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/rescue/enable/servers/{service_id}/rescue/disableDisable rescue mode if available.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/rescue/disable/servers/{service_id}/imagesDisplays OS templates and latest OSID values.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/images/servers/{service_id}/reinstallReinstall Budget VPS using osid.service_idRequiredosidRequiredpasswordRequiredcurl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"osid":"1109","password":"PasswordKuat123!"}' \
https://api.faithserver.com/api/v1/servers/fsrv_111/reinstall/servers/{service_id}/reset-passwordSet a custom password if the service supports it.service_idRequiredpasswordRequiredcurl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"password":"PasswordKuat123!"}' \
https://api.faithserver.com/api/v1/servers/fsrv_111/reset-password/servers/{service_id}/ipsDisplays a list of IP addresses on the server.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/ips/servers/{service_id}/monitorDisplays available basic monitoring.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/monitor/servers/{service_id}/trafficDisplays traffic or bandwidth usage.service_idRequiredmonthNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/traffic?month=202605/servers/{service_id}/tasksDisplays the most recent task or action if supported.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/tasksEndpoint documentation
Dedicated servers do not have start/stop like VPS. Use hardware reboot or Wake On LAN if available.
/servers/{service_id}/statusCheck the status of the dedicated server.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/status/servers/{service_id}/overviewDisplays the dedicated server summary.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/overview/servers/{service_id}/rebootPerform a hardware reboot.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/reboot/servers/{service_id}/wolPerforms Wake On LAN if available.service_idRequiredNot required.
curl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/wol/servers/{service_id}/imagesDisplays a Linux or Windows reinstall image.service_idRequiredNot required.
curl \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
https://api.faithserver.com/api/v1/servers/fsrv_111/images/servers/{service_id}/reinstallRun a reinstall of Linux or Windows according to the image.service_idRequiredimageRequiredpasswordhostnamecurl -X POST \
-H "Authorization: Bearer fs_live_xxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"image":"windows-server-2019","password":"StrongPassword123!","hostname":"FS-TEST"}' \
https://api.faithserver.com/api/v1/servers/fsrv_111/reinstallError reference
The reference document does not specify an HTTP status for the following error, so this page does not add one.
Reason: The Authorization header was not sent, the Bearer format is incorrect, or the key was sent via query/body.
How to fix: Send the API key via the Authorization header in Bearer format.
{
"success": false,
"message": "Missing API key."
}Reason: The API key is invalid or has been disabled.
How to fix: Check the key used or generate a new key after the old key has been revived.
{
"success": false,
"message": "Invalid API key."
}Reason: The whitelist is active and requests come from unregistered IPs.
How to fix: Add the application IP to the whitelist key or use an IP that is already registered.
{
"success": false,
"message": "IP address is not whitelisted for this API key."
}Reason: Service ID is incorrect, the server does not belong to the account, or the service is not active/not yet synchronized.
How to fix: Re-fetch the Public Service ID from GET /servers and make sure the service is active.
{
"success": false,
"message": "Server not found."
}Reason: The action is not available for the product, the service is not active, or the action is not in allowed_actions.
How to fix: Check allowed_actions and then select the actions available for that service.
{
"success": false,
"message": "Action not allowed for this server."
}Reason: The service system does not provide the requested feature when the request is processed.
How to fix: Check capability and allowed_actions; try again only after confirming the service condition.
{
"success": false,
"message": "Service API request failed.",
"provider_response": {"message": "Console is currently unavailable for this server."}
}Security guidelines
Treat API keys, generated passwords, credentials, and console URLs as secrets.
Offline reference
Version 2026.06.25 · 22 pages · Actual PDF
Product FAQs
Find important information before selecting and using a service.
8 questions
Create an API key via the Client Area, then send the key as a Bearer token in the Authorization header. The full API key is only displayed once and must be stored securely.
API keys can only access services with Active status that are registered with the same account. Services with other states cannot be controlled via the API.
Use GET /servers as the primary source to find the public Service ID, product type, lifecycle status, and available actions.
No. Feature availability depends on product, region, service status, and server configuration. Always check allowed_actions from GET /servers.
Certain actions go into the job queue. Use GET /jobs or GET /jobs/{job_id} to read the process status until it completes.
Immediately revoke the old key via the Client Area then generate a new key. The new full key is only displayed once.
No. The console URL contains a temporary and sensitive token. Don't share it via screenshots, public chat, repository, or logs.
Reinstall deletes data on the server. Make sure the data is backed up; The FaithServer service is unmanaged so backups are the user's responsibility.
Ready to start?
Create an API key from the Client Area, then return to Quick Start for the first request.
USD prices are converted at a fixed rate of IDR 19,000 per US$1. The final billing currency and amount are shown during checkout.