Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.suggestions.list
Request body
The request body contains data with the following structure:
The current natural language text segment to compile suggestion for. This provides a way for user to get follow up smart reply suggestion after a smart reply selection, without sending a text message.
latestMessage
string
The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis endpoint retrieves smart reply suggestions for a specific participant in a conversation based on historical messages.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a \u003ccode\u003ePOST\u003c/code\u003e method to a URL following a specific pattern, including path parameters to identify the project, conversation, and participant.\u003c/p\u003e\n"],["\u003cp\u003eThe request body accepts JSON data specifying the current text input, the latest message in the conversation, and the desired context size.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires specific IAM permissions and one of two OAuth scopes related to Google Cloud Platform or Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return a response body containing smart reply suggestions in the format of a \u003ccode\u003eSuggestSmartRepliesResponse\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Method: projects.conversations.participants.suggestions.suggestSmartReplies\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets smart replies for a participant based on specific historical messages.\n\n### HTTP request\n\n`POST https://{endpoint}/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestSmartReplies`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/es/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [SuggestSmartRepliesResponse](/dialogflow/es/docs/reference/rest/v2beta1/SuggestSmartRepliesResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]