Hello,
Query: api/v2/analytics/conversations/details/query
I'm using this query to search the conversations where exist some outbound message. But I don't know how I can to filter by status, for example: "status": "sent" or "delivered-success".
¿What can I do to filter by status in the Outbound whatsapp (agentless)?
Body:
{"interval": "2023-04-19T00:00:00.000Z/2023-04-19T23:59:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"segmentFilters": [ {
"type": "or",
"clauses": [{
"type": "and",
"predicates": [ {
"type": "dimension",
"dimension": "addressFrom",
"operator": "matches",
"value": "xxxxxx"
},{
"type": "dimension",
"dimension": "direction",
"operator": "matches",
"value": "outbound"
}, {
"type": "dimension",
"dimension": "purpose",
"operator": "matches",
"value": "api" } ] } ]}]}
Regards!