- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists conversations.
HTTP request
GET https://{endpoint}/v1/{parent=projects/*/locations/*}/conversations
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the conversation. |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. |
pageToken |
The value returned by the last |
filter |
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. |
orderBy |
Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following:
The default sort order is ascending. To specify order, append |
view |
The level of details of the conversation. Default is |
Request body
The request body must be empty.
Response body
The response of listing conversations.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"conversations": [
{
object ( |
Fields | |
---|---|
conversations[] |
The conversations that match the request. |
nextPageToken |
A token which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
contactcenterinsights.conversations.list
For more information, see the IAM documentation.