Shape the future of software delivery and make your voice heard by taking the 2021 State of DevOps survey.

Method: projects.triggers.webhook

triggers.webhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

HTTP request

POST https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers/{trigger}:webhook

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Project in which the specified trigger lives

trigger

string

Name of the trigger to run the payload against

Query parameters

Parameters
name

string

The name of the triggers.webhook to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}

secret

string

Secret token used for authorization if an OAuth token isn't provided.

Request body

The request body contains an instance of HttpBody.

Response body

If successful, the response body is empty.