GitLab API icon

GitLab API

Gitlab

Actions1062

System_hooks → getApiV4HooksHookId

AI-generated

Summary

Retrieves a specific system hook configuration by its ID via the GitLab API v4.

Inputs

  • hook_id (required) — The ID of the system hook to retrieve.
  • skipAuthentication — Skips standard authentication when making the request.
  • baseUrl — The GitLab server base URL (defaults to https://gitlab.com).

Output shape

a single record containing the hook configuration data

Data is returned according to the GitLab API v4 response schema for system hooks.

Examples

Example 1: Retrieve a system hook by its numeric ID

Path: /api/v4/hooks/{hook_id}

Links

Discussion