Skip to main content
Returns a list of all conversations matching the search criteria along with the sort and filter options selected.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Query parameters

string
default:"ABCHkzuJQ8ZMd4Te84GK"
required
Account Id
string
default:"9VEmS0si86GW6gXWU89b"
Contact Id
string
default:"ABCHkzuJQ8ZMd4Te84GK,fGiae4CHkzoskh8thsik"
User IDs that conversations are assigned to. Multiple IDs can be provided as comma-separated values. Use “unassigned” to fetch conversations not assigned to any user.
string
default:"ABCHkzuJQ8ZMd4Te84GK,fGiae4CHkzoskh8thsik"
User IDs of followers to filter conversations by. Multiple IDs can be provided as comma-separated values.
string
default:"ABCHkzuJQ8ZMd4Te84GK,fGiae4CHkzoskh8thsik"
User Id of the mention. Multiple values are comma separated.
string
default:"Search string"
Search paramater as a string
string
default:"asc"
Sort paramater - asc or desc
any
default:"1600854"
Search to begin after the specified date - should contain the sort value of the last document
string
default:"ABCHkzuJQ8ZMd4Te84GK"
Id of the conversation
number
default:"20"
Limit of conversations - Default is 20
string
default:"TYPE_SMS"
Type of the last message in the conversation as a string
string
default:"manual"
Action of the last outbound message in the conversation as string.
string
default:"inbound"
Direction of the last message in the conversation as string.
string
default:"all"
The status of the conversation to be filtered - all, read, unread, starred
string
default:"last_message_date"
The sorting of the conversation to be filtered as - manual messages or all messages
string
default:"ABCHkzuJQ8ZMd4Te84GK"
Id of score profile on which sortBy.ScoreProfile should sort on
string
default:"ABCHkzuJQ8ZMd4Te84GK"
Id of score profile on which conversations should get filtered out, works with scoreProfileMin & scoreProfileMax
number
default:"ABCHkzuJQ8ZMd4Te84GK"
Minimum value for score
number
default:"ABCHkzuJQ8ZMd4Te84GK"
Maximum value for score
number
default:"1640995200000"
Start date filter for dateAdded field (Unix timestamp in milliseconds)
number
default:"1672531199000"
End date filter for dateAdded field (Unix timestamp in milliseconds)

Respuestas

object[]
required
The list of all conversations found for the given query
number
default:"100"
required
Total Number of results found for the given query

Ejemplo