Skip to content

Conversation

Retrieve conversations across channels. Supports paginated fetching of conversation records.

Fetch conversations (paginated)

Request

Security
bearerAuth and apiKeyAuth
Query
channelTypestring

Channel type (required for profile conversations)

channelIdstring

Channel id (required for profile conversations)

messageIdstring

Message ID (required for message conversations)

sinceTimestring

Since time lower bound (epoch ms)

untilTimestring

Until time upper bound (epoch ms)

pageNumberstring

0-based page index; offset is pageNumber * pageSize

pageSizestring

Page size / rows

sourceTypestring

SourceType enum name

sortKeystring

Message field name, case-sensitive; (associatedCaseNumber, channelCreatedTime, channelMessageId, createdTime, modifiedTime, or parentMessageId). Omit for default (createdTime ASC).

sortOrderstring

Sort order (ASC/DESC)

parentSnMsgIdstring

Parent message ID for message conversation filtering

msgTypesstring

Comma-separated message type integers for filtering

curl -i -X GET \
  'https://api3.sprinklr.com/prod/api/v3/conversation?channelType=string&channelId=string&messageId=string&sinceTime=string&untilTime=string&pageNumber=string&pageSize=string&sourceType=string&sortKey=string&sortOrder=string&parentSnMsgId=string&msgTypes=string' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
dataobject
errorsArray of objects(Error)
metadataobject(ResponseMetadata)
Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }