v1

latestOpenAPI 3.0.02026-07-2248161142.3 KB
Hooks

Set Webhook for Traffic Monitoring

This endpoint allows setting up webhooks for traffic monitoring on a 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, valid_until, and webhook configuration details.

post/kvm/v2/hooks/set

Response

Webhook set successfully.

statusstring

The status of the operation.

hook_idstring

The ID of the created webhook.

Example response

{
  "status": "success",
  "hook_id": "123"
}