Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhook Triggers

This contains APIs related to Webhook Triggers.

Gets webhook event processing details for input eventId.

get
Query parameters
accountIdentifierstringRequired
eventIdstringRequired
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/webhook/triggerProcessingDetails
GET /gateway/pipeline/api/webhook/triggerProcessingDetails?accountIdentifier=text&eventId=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Gets webhook event processing details for input eventId.

get
Path parameters
eventIdstringRequired
Query parameters
accountIdentifierstringRequired
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/webhook/triggerExecutionDetails/{eventId}
GET /gateway/pipeline/api/webhook/triggerExecutionDetails/{eventId}?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Gets webhook event processing details for input eventId when the trigger is queued and has not triggered the pipeline yet.

get
Path parameters
eventIdstringRequired
Query parameters
accountIdentifierstringRequired
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/webhook/triggerExecutionDetailsV2/{eventId}
GET /gateway/pipeline/api/webhook/triggerExecutionDetailsV2/{eventId}?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Handles event payload for webhook triggers.

post
Query parameters
accountIdentifierstringRequired
orgIdentifierstringOptional
projectIdentifierstringOptional
Body
stringOptional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/webhook/trigger
POST /gateway/pipeline/api/webhook/trigger?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Handles event payload for custom webhook triggers.

post
Query parameters
accountIdentifierstringRequired
orgIdentifierstringRequired
projectIdentifierstringRequired
pipelineIdentifierstringOptional
triggerIdentifierstringOptional
Body
stringOptional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/webhook/custom
POST /gateway/pipeline/api/webhook/custom?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Handles event payload for custom webhook triggers.

post
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pipelineIdentifierstringOptional

Pipeline Identifier

triggerIdentifierstringOptional

Trigger Key

Body
stringOptional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/webhook/custom/v2
POST /gateway/pipeline/api/webhook/custom/v2?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Handles event payload for custom webhook triggers.

post
Path parameters
webhookTokenstringRequired

Custom Webhook token for custom webhook triggers

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

pipelineIdentifierstringOptional

Pipeline Identifier

triggerIdentifierstringOptional

Trigger Key

Body
stringOptional
Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/webhook/custom/{webhookToken}/v3
POST /gateway/pipeline/api/webhook/custom/{webhookToken}/v3?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Last updated

Was this helpful?