---
title: "POST /v3/{+parent}/webhooks"
method: POST
path: "/v3/{+parent}/webhooks"
tags: ["projects"]
---

# POST /v3/{+parent}/webhooks

`POST /v3/{+parent}/webhooks`

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudDialogflowCxV3Webhook
  - `timeout` string, google-duration
  - `name` string
  - `serviceDirectory` GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
    - `service` string
    - `genericWebService` GoogleCloudDialogflowCxV3WebhookGenericWebService
      - `parameterMapping` object
      - `serviceAgentAuth` 'SERVICE_AGENT_AUTH_UNSPECIFIED' | 'NONE' | 'ID_TOKEN' | 'ACCESS_TOKEN'
      - `secretVersionForUsernamePassword` string
      - `httpMethod` 'HTTP_METHOD_UNSPECIFIED' | 'POST' | 'GET' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS'
      - `webhookType` 'WEBHOOK_TYPE_UNSPECIFIED' | 'STANDARD' | 'FLEXIBLE'
      - `requestBody` string
      - `requestHeaders` object
      - `oauthConfig` GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
        - `clientId` string
        - `secretVersionForClientSecret` string
        - `tokenEndpoint` string
        - `scopes` string[]
        - `clientSecret` string
      - `serviceAccountAuthConfig` GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
        - `serviceAccount` string
      - `uri` string
      - `allowedCaCerts` string[]
      - `secretVersionsForRequestHeaders` object
      - `username` string
      - `password` string
  - `disabled` boolean
  - `displayName` string
  - `genericWebService` GoogleCloudDialogflowCxV3WebhookGenericWebService
    - `parameterMapping` object
    - `serviceAgentAuth` 'SERVICE_AGENT_AUTH_UNSPECIFIED' | 'NONE' | 'ID_TOKEN' | 'ACCESS_TOKEN'
    - `secretVersionForUsernamePassword` string
    - `httpMethod` 'HTTP_METHOD_UNSPECIFIED' | 'POST' | 'GET' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS'
    - `webhookType` 'WEBHOOK_TYPE_UNSPECIFIED' | 'STANDARD' | 'FLEXIBLE'
    - `requestBody` string
    - `requestHeaders` object
    - `oauthConfig` GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
      - `clientId` string
      - `secretVersionForClientSecret` string
      - `tokenEndpoint` string
      - `scopes` string[]
      - `clientSecret` string
    - `serviceAccountAuthConfig` GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
      - `serviceAccount` string
    - `uri` string
    - `allowedCaCerts` string[]
    - `secretVersionsForRequestHeaders` object
    - `username` string
    - `password` string

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/dialogflow.md) · [All operations](https://skmtc.dev/google/apis/dialogflow/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/dialogflow/revisions/9d65e7f14110/schema)
