GitLab API

GitlabTool

Actions1095

Hooks → postApiV4HooksHookId

AI-generated

Summary

Sends a request to the GitLab hook endpoint at /api/v4/hooks/{hook_id} using the selected HTTP method. Set the hook ID in Path Parameters; the base URL comes from the GitLab API credential.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential authentication.
  • GitLab API credential — Used for authentication unless Skip Authentication is enabled. The credential defines the base URL.
  • Method — HTTP method for the request: GET, POST, PUT, DELETE, HEAD, or PATCH. Defaults to GET.
  • Path Parameters: Hook_id (required) — ID of the hook to address in the endpoint path.

Output shape

A single response from the GitLab API.

The operation exposes no request body or query parameter fields. Response details depend on the selected method and GitLab's response.

Links

Discussion