Send feedback
OriginalDetectIntentRequest
Stay organized with collections
Save and categorize content based on your preferences.
Represents the contents of the original request that was passed to the [Streaming]DetectIntent
call.
JSON representation
{
"source" : string ,
"version" : string ,
"payload" : {
object
}
}
Fields
source
string
The source of this request, e.g., google
, facebook
, slack
. It is set by Dialogflow-owned servers.
version
string
Optional. The version of the protocol used for this request. This field is AoG-specific.
payload
object (Struct
format)
Optional. This field is set to the value of the QueryParameters.payload
field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload.
In particular, for the Dialogflow Phone Gateway integration, this field has the form:
{
"telephony": {
"caller_id": "+18558363987"
}
}
Note: The caller ID field (caller_id
) will be redacted for Trial Edition agents and populated with the caller ID in E.164 format for Essentials Edition agents.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-30 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?