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.
Required parameters to set a webhook for traffic monitoring.
All parameters must be passed in the request body as application/x-www-form-urlencoded.
The session signature obtained from the "Create AUTH-session" call.
"session_signature_12345"
The unique identifier of the KVM VPS.
"kvm_123456_789012"
The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
"1737476000"
The HTTP method to use for the callback (post or get).
"post"
(Optional) Username for callback authentication.
"callback_user"
(Optional) Password for callback authentication.
"callback_password"
Type of hook to create (only traffic is allowed).
"traffic"
Trigger value to activate the webhook.
80 for 80%).demo for immediate unique call."80"
The callback URL (HTTP or HTTPS) that receives notifications
when the trigger value is reached.
Example: https://example.com/yourcallback.
Source IP: 149.154.154.251
"https://example.com/yourcallback"