GitLab · JSON Structure

Gitlab Webhooks Webhook Event Structure

WebhookEvent from GitLab API

Type: object Properties: 10
CodePlatformSoftware DevelopmentSource Control

WebhookEvent is a JSON Structure definition published by GitLab, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id url trigger request_headers request_data response_headers response_body response_status execution_duration created_at

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-structure/gitlab-webhooks-webhook-event-structure.json",
  "name": "WebhookEvent",
  "description": "WebhookEvent from GitLab API",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "The unique identifier of the webhook event delivery.",
      "example": 42
    },
    "url": {
      "type": "uri",
      "description": "The URL the event was delivered to.",
      "example": "https://gitlab.com/example"
    },
    "trigger": {
      "type": "string",
      "description": "The event type that triggered the webhook delivery.",
      "example": "example_value"
    },
    "request_headers": {
      "type": "object",
      "description": "HTTP headers sent with the webhook request.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "request_data": {
      "type": "string",
      "description": "The JSON payload body sent in the webhook request.",
      "example": "2026-04-17T12:00:00Z"
    },
    "response_headers": {
      "type": "object",
      "description": "HTTP headers returned in the webhook response.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "response_body": {
      "type": "string",
      "description": "The body of the response from the webhook receiver.",
      "example": "example_value"
    },
    "response_status": {
      "type": "string",
      "description": "The HTTP response status code returned by the receiver.",
      "example": "2026-04-17T12:00:00Z"
    },
    "execution_duration": {
      "type": "double",
      "description": "Time in milliseconds the webhook delivery took.",
      "example": 42.5
    },
    "created_at": {
      "type": "datetime",
      "description": "The date and time the event was delivered.",
      "example": "2026-04-17T12:00:00Z"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/gitlab-webhooks-webhook-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.