Webhook Triggers
This contains APIs related to Webhook Triggers.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns webhook event processing details for input eventId.
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"
}
]
}Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns webhook event processing details for input 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.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns webhook event processing details for input eventId when the trigger is in queued state.
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"
}
]
}Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns UUID of newly created webhook processing event.
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"
}
]
}Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns UUID of newly created custom webhook processing event.
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"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Pipeline Identifier
Trigger Key
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns data about of newly created custom webhook processing event.
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"
}
]
}Custom Webhook token for custom webhook triggers
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Pipeline Identifier
Trigger Key
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns data about of newly created custom webhook processing event.
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?