Legacy Dev Forum Posts

 View Only

Sign Up

How to get all SMS replies for all conversations

  • 1.  How to get all SMS replies for all conversations

    Posted 06-05-2025 18:18

    Roberto_Mejia | 2021-01-27 23:40:04 UTC | #1

    I am trying to make a call to get all incoming SMS messages to parse opt-in status on our end.

    I found the /api/v2/analytics/conversations/details/query call, but both the API Explorer and documentation are a bit unclear on the details of the post object.

    I have not been able to for a post object that works. Below is the object I'm sending, which is not returning SMS messages only:

    { "interval": "2021-01-20T00:00:00/2021-01-25T00:00:00", "filter": { "type": "AND", "predicates": [ { "dimension": "mediaType", "value": "message" }, { "dimension": "messageType", "value": "sms" }, { "dimension": "purpose", "value": "customer" } ] } }

    Can someone help get some clarification as to hot to make this call?


    Becky_Powell | 2021-01-28 00:08:42 UTC | #2

    Hi Roberto,

    You might find our Analytics Query Builder developer tool to be helpful in forming queries for that API.

    If this doesn't help you, please come back and let us know.

    --Becky


    Roberto_Mejia | 2021-01-28 03:46:59 UTC | #3

    Becky, that is super helpful!! I wish I had found that before spending all this time looking all over the documentation to try to get answers. It may be helpful to link to that tool from the documentation.

    However, even after using that tool, I'm not receiving SMS messages only like I would expect. This returns a lot more data that I would want.

    I want to focus on incoming SMS messages to parse out the content. Is there a way to do that?


    system | 2021-02-28 03:47:00 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 9824