Hostinger

Connect your Hostinger account so AgentSOAR can power VPS instances on and off as a containment response. AgentSOAR authenticates with a single API token generated in hPanel.

What this enables

This credential powers one AgentSOAR response capability against your Hostinger account:

CapabilityWhat it doesHow
powerPowers a Hostinger VPS instance on or offHostinger VPS API

Scope of support: the Hostinger integration can only power VPS instances on and off. IP blocking and instance isolation are not available on Hostinger's VPS API.

Prerequisites

  • A Hostinger account with an active VPS plan.
  • Access to hPanel to generate an API token.
  • Access to AgentSOAR → Settings → Credentials (/agentsoar/settings/credentials).

How the connection works

AgentSOAR authenticates to Hostinger with a single API token generated in hPanel. One value goes into the credential form:

ValueWhat it is
API TokenA bearer token for the Hostinger VPS API

Step 1 — Open the Hostinger API settings

Sign in to hPanel and open Account → API (under the Developers section).

Step 2 — Generate an API token

  1. Click Generate token (or Create token).
  2. Give it a recognizable name, e.g. agentsoc-soar.
  3. Copy the generated token.

The token is shown only once. Copy it now — if you lose it, generate a new one and delete the old token. Store it like a password.

Step 3 — Add the credential in AgentSOAR and validate

  1. In AgentSOAR, open Settings → Credentials (/agentsoar/settings/credentials).
  2. Add a Hostinger credential and paste the API Token from Step 2.
  3. Save. AgentSOAR validates the token by listing your VPS instances.
  4. Once it shows Healthy, the Hostinger power action is ready to use.

Troubleshooting

ErrorLikely cause and fix
Hostinger API returned 401The API token is wrong, was mistyped, or has been revoked. Generate a fresh token (Step 2).
Hostinger API returned 403The token lacks access to the VPS API, or the account has no VPS plan.
Network errorhPanel or the Hostinger API is temporarily unreachable. Retry validation shortly.

Reference: Hostinger — Generating an API token