Endpoint
Authorization
Include your API key in the request header:Path Parameters
The unique identifier of your application. You can find this in the URL of your application’s dashboard.
Body Parameters
A GitHub Personal Access Token (classic) with
repo scope permissions. Virtus Cloud uses this token to register the webhook in your repository on your behalf. Generate one at GitHub Tokens (Classic).Response
Indicates the outcome of the request. Returns
"success" when the webhook has been registered successfully.A human-readable message describing the result of the operation.
An object containing details about the newly created webhook.
Examples
Response Example
To verify the webhook is active, use the Current Deploy endpoint to retrieve the registered webhook URL, then confirm it appears in your GitHub repository’s Settings → Webhooks page.