POST
/
kvm
/
v2
/
hooks
/
get
curl --request POST \
  --url https://{api_host}.edisglobal.com/kvm/v2/hooks/get \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_123456_789012 \
  --data valid_until=2025-01-12T15:30:00Z
{
  "status": "success",
  "hooks": [
    {
      "id": 1,
      "trigger_value": 80,
      "last_launched": 1714330805,
      "callback_url": "https://example.com/callback",
      "callback_method": "get",
      "callback_user": "",
      "type": ""
    }
  ]
}

Body

application/x-www-form-urlencoded
Required parameters to retrieve all webhooks for a KVM VPS. All parameters must be passed in the request body as `application/x-www-form-urlencoded`.
signature
string

The session signature obtained from the "Create AUTH-session" call.

kvm_id
string

The unique identifier of the KVM VPS to retrieve webhooks for.
This value is specific to your VPS.

valid_until
string

The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.

Response

200
application/json
Webhooks retrieved successfully.
status
string

The status of the operation.

hooks
object[]