GET /conversations/search
Returns a list of all conversations matching the search criteria along with the sort and filter options selected.
Servers
- https://services.leadconnectorhq.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Version |
String | Yes |
API Version Valid values:
|
Authorization |
String | Yes |
Access Token |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
scoreProfile |
String | No |
Id of score profile on which conversations should get filtered out, works with scoreProfileMin & scoreProfileMax |
locationId |
String | Yes |
Location Id |
scoreProfileMin |
Number | No |
Minimum value for score |
sortBy |
String | No |
The sorting of the conversation to be filtered as - manual messages or all messages Valid values:
|
sort |
String | No |
Sort paramater - asc or desc Valid values:
|
startAfterDate |
Any | No |
Search to begin after the specified date - should contain the sort value of the last document |
lastMessageDirection |
String | No |
Direction of the last message in the conversation as string. Valid values:
|
status |
String | No |
The status of the conversation to be filtered - all, read, unread, starred Valid values:
|
contactId |
String | No |
Contact Id |
sortScoreProfile |
String | No |
Id of score profile on which sortBy.ScoreProfile should sort on |
id |
String | No |
Id of the conversation |
query |
String | No |
Search paramater as a string |
limit |
Number | No |
Limit of conversations - Default is 20 |
lastMessageType |
String | No |
Type of the last message in the conversation as a string Valid values:
|
lastMessageAction |
String | No |
Action of the last outbound message in the conversation as string. Valid values:
|
scoreProfileMax |
Number | No |
Maximum value for score |
assignedTo |
String | No |
Assigned to user Id. Multiple values are comma separated. "unassigned" is used to fetch all unassigned conversations |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.