v1

latestOpenAPI 3.0.02026-07-2248161142.3 KB
Hooks

Get all webhooks

This endpoint retrieves all webhooks configured for the specified KVM VPS.
The api_host parameter, obtained from the "Create AUTH-session" response,
is dynamically set in the URL.
Provide the signature, kvm_id, and valid_until parameters to fetch the list of webhooks.

post/kvm/v2/hooks/get

Response

Webhooks retrieved successfully.

statusstring

The status of the operation.

Example response

{
  "status": "success",
  "hooks": [
    {
      "id": 1,
      "trigger_value": 80,
      "last_launched": 1714330805,
      "callback_url": "https://example.com/callback",
      "callback_method": "get"
    }
  ]
}