webhook

accept webhook event

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
Request Body schema:
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/webhook
Request samples
"string"
Response samples
{
  • "status": "SUCCESS",
  • "data": "string",
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/sourceRepos
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/sourceRepos \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get trigger git actions with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/gitTriggerEventDetails
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/gitTriggerEventDetails \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/webhookTriggerTypes
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/webhookTriggerTypes \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/githubTriggerEvents
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/githubTriggerEvents \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/githubPRActions
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/githubPRActions \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/githubIssueCommentActions
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/githubIssueCommentActions \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/gitlabTriggerEvents
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/gitlabTriggerEvents \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/gitlabPRActions
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/gitlabPRActions \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/bitbucketTriggerEvents
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/bitbucketTriggerEvents \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Source Repo types with Events

Request
Security:
ApiKey (readwrite)
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/bitbucketPRActions
Request samples
curl -i -X GET \
  https://app.harness.io/gateway/pipeline/api/webhook/bitbucketPRActions \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get Actions for event type and source

Request
Security:
ApiKey (readwrite)
query Parameters
sourceRepo
required
string
Enum: "GITHUB" "GITLAB" "BITBUCKET" "AWS_CODECOMMIT" "CUSTOM"
event
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/actions
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/pipeline/api/webhook/actions?sourceRepo=GITHUB&event=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

accept custom webhook event

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
pipelineIdentifier
string
triggerIdentifier
string
Request Body schema:
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/pipeline/api/webhook/custom
Request samples
"string"
Response samples
{
  • "status": "SUCCESS",
  • "data": "string",
  • "metaData": { },
  • "correlationId": "string"
}

accept webhook event

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
Request Body schema:
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/pipeline/api/webhook/trigger
Request samples
"string"
Response samples
{
  • "status": "SUCCESS",
  • "data": "string",
  • "metaData": { },
  • "correlationId": "string"
}

fetch webhook event details

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
eventId
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/pipeline/api/webhook/triggerProcessingDetails
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/pipeline/api/webhook/triggerProcessingDetails?accountIdentifier=string&eventId=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}