Required. The parent resource of the conversation.
Query parameters
Parameters
conversationId
string
A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-
Request body
The request body contains an instance of Conversation.
Response body
If successful, the response body contains a newly created instance of 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-07-30 UTC."],[[["\u003cp\u003eThis endpoint allows the creation of a new conversation using a POST request to a specified endpoint URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter and can optionally include a \u003ccode\u003econversationId\u003c/code\u003e query parameter for custom naming.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of the \u003ccode\u003eConversation\u003c/code\u003e resource, and the response will also return a \u003ccode\u003eConversation\u003c/code\u003e instance upon success.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eCreating a conversation requires the \u003ccode\u003econtactcenterinsights.authorizedConversations.create\u003c/code\u003e and \u003ccode\u003econtactcenterinsights.conversations.create\u003c/code\u003e IAM permissions on the parent resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.conversations.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nCreates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead.\n\n### HTTP request\n\n`POST https://{endpoint}/v1/{parent=projects/*/locations/*}/conversations`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/contact-center/insights/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Conversation](/contact-center/insights/docs/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations#Conversation).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Conversation](/contact-center/insights/docs/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations#Conversation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permissions on the `parent` resource:\n\n- `contactcenterinsights.authorizedConversations.create`\n- `contactcenterinsights.datasetConversations.create`\n- `contactcenterinsights.conversations.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]