API get attributtes call participant

Hi Team,

Our client needs to know a call count that contains a specific call attribute which appears in the participant data with the name = Motivo and the value = HORARIOS

When opening a case with support, they told us to use the following API to obtain this information, but no matter how hard we try to launch the query, we are not able to obtain the necessary information and we are very lost.

Please can you tell me which is the correct query in this api:

post
/api/v2/conversations/participants/attributes/search

Search conversations to search for interactions that contain the participant data Motivo=HORARIOS between dates:

09-25-2024 20:00 pm and 09-25-2024 22:00 pm?

This is a conversation that contains that participant data and is between those dates:

2c1f55cb-c595-48f7-8571-955fb9a807f7

We have tried this and other queries for a long time but we can't get it to work:

{

"query": [

{

  "type": "DATE_RANGE",

  "fields": [

    "startTime"

  ],

  "startValue": "2024-09-24T10:00:00.000Z",

  "endValue": "2024-09-24T10:10:00.000Z"

}

]

}

We need your help and knowledge to move forward.

Thank you very much in advance.

Kind Regards.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.