# GetWebhook

Returns Webhook Details

Endpoint: GET /har/api/v1/registry/{registry_ref}/webhooks/{webhook_identifier}
Version: 1.0
Security: x-api-key

## Path parameters:

  - `registry_ref` (string, required)
    Reference to the scope in which the registry exists.

Format depends on the scope:

- Account-level: account_id/registry_name/+
- Organization-level: account_id/org_id/registry_name/+
- Project-level: account_id/org_id/project_id/registry_name/+

The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.

  - `webhook_identifier` (string, required)
    Unique webhook identifier.

## Response 200 fields (application/json):

  - `data` (object, required)
    Harness Regstries Webhook

  - `data.createdAt` (string)

  - `data.createdBy` (integer)

  - `data.description` (string)

  - `data.enabled` (boolean, required)

  - `data.extraHeaders` (array)

  - `data.extraHeaders.key` (string, required)

  - `data.extraHeaders.masked` (boolean)

  - `data.extraHeaders.value` (string, required)

  - `data.identifier` (string, required)

  - `data.insecure` (boolean, required)

  - `data.internal` (boolean)

  - `data.latestExecutionResult` (string)
    refers to webhook execution
    Enum: "SUCCESS", "RETRIABLE_ERROR", "FATAL_ERROR"

  - `data.modifiedAt` (string)

  - `data.name` (string, required)

  - `data.secretIdentifier` (string)

  - `data.secretSpaceId` (integer)

  - `data.secretSpacePath` (string)

  - `data.triggers` (array)
    Enum: "ARTIFACT_CREATION", "ARTIFACT_DELETION"

  - `data.url` (string, required)

  - `data.version` (integer)

  - `status` (string, required)
    Request processing status indicator
    Enum: "SUCCESS", "FAILURE", "ERROR"

## Response 400 fields (application/json):

  - `code` (string, required)
    The HTTP error code
    Example: "404"

  - `details` (object)
    Additional context and details about the error.
May include field-specific validation errors or debugging information.
    Example: {"field":"registry_identifier","reason":"Registry does not exist in the specified project","value":"invalid-registry"}

  - `message` (string, required)
    Human-readable error message explaining what went wrong
    Example: "Registry not found"


