# Method: projects.locations.connections.processWebhook

- [HTTP request](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#body.request_body)
- [Response body](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#body.response_body)
- [IAM Permissions](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#body.aspect)
- [Try it!](https://docs.cloud.google.com/build/docs/api/reference/rest/v2/projects.locations.connections/processWebhook#try-it)

connections.processWebhook is called by the external SCM for notifying of events.

### HTTP request

`POST https://cloudbuild.googleapis.com/v2/{parent=projects/*/locations/*}/connections:processWebhook`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`. |

### Query parameters

| Parameters ||
|---|---|
| `webhookKey` | `string` Arbitrary additional key to find the maching repository for a webhook event if needed. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/build/docs/api/reference/rest/Shared.Types/HttpBody`.

### Response body

If successful, the response body is empty.

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `iam.permissions.none`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).