The ID of the application where the webhook will be created.
The GitHub repository owner.
The name of the GitHub repository.
The ID of the GitHub repository.
The GitHub account ID.
Response
Indicates if the request was successful. Returns
success
if the webhook was created successfully.The URL of the created webhook.
Error Responses
Returns
error
if the request fails.Possible error codes:
UNAUTHORIZED
: User is not authenticated or lacks permissions.PLAN_RESTRICTED_FEATURE
: User plan does not support auto-deploy.INVALID_ACCOUNT_ID
: Provided GitHub account ID is invalid.MISSING_REPO_INFORMATION
: Required repository information is missing.INSTALLATION_NOT_FOUND
: GitHub installation not found for the user.