- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- MatchIntentRequest
- Try it!
Fulfills a matched intent returned by sessions.matchIntent. Must be called after sessions.matchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.
HTTP request
POST https://{endpoint}/v3beta1/{matchIntentRequest.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent
Where {endpoint} is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| matchIntentRequest.session | 
 Required. The name of the session this query is sent to. Format:  For more information, see the sessions guide. Authorization requires the following IAM permission on the specified resource  
 | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "matchIntentRequest": { "session": string, "queryParams": { "timeZone": string, "geoLocation": { object ( | 
| Fields | |
|---|---|
| matchIntentRequest.queryParams | 
 The parameters of this query. | 
| matchIntentRequest.queryInput | 
 Required. The input specification. | 
| matchIntentRequest.persistParameterChanges | 
 Persist session parameter changes from  | 
| match | 
 The matched intent/event to fulfill. | 
| outputAudioConfig | 
 Instructs the speech synthesizer how to generate output audio. | 
Response body
If successful, the response body contains an instance of FulfillIntentResponse.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.
MatchIntentRequest
Request of [sessions.matchIntent][].
| JSON representation | 
|---|
| { "session": string, "queryParams": { object ( | 
| Fields | |
|---|---|
| session | 
 Required. The name of the session this query is sent to. Format:  For more information, see the sessions guide. | 
| queryParams | 
 The parameters of this query. | 
| queryInput | 
 Required. The input specification. | 
| persistParameterChanges | 
 Persist session parameter changes from  |