SMS Conversations

  • 1
  • Question
  • Updated 1 month ago
Now that I have sending SMS working on development on the RC API which can be done through our web-based system, I need to figure out how to match incoming messages (responses to our texts) so the "conversation" is shown much like you see in a normal texting conversation (at least until we delete or "close" that conversation say another subject) and start a new one.

We don't need real-time notification like provided through web hooks, because we have a "Message Center" that we check that processes and checks for new emails and it could check for new SMS messages.

From what I can tell in the documentation, you can use the Get Message List call and each message should have a conversation_Id which can be match to the conversation_Id attached to the outgoing message just sent.

First, does that make sense?

Second, assuming it does, would that be the best way to accomplish it?


Thanks,

Jason
Photo of Jason

Jason

  • 360 Points 250 badge 2x thumb

Posted 1 month ago

  • 1
Photo of Anton Nikitin

Anton Nikitin, Official Rep

  • 2,512 Points 2k badge 2x thumb
Jason,

for SMS mesages Conversation ID is automatically generated basing on a "from" and "to" phone numbers. So all replies will have the same conversation ID and it lets you display conversation threads. So I think your idea is right here.  
Photo of Jason

Jason

  • 360 Points 250 badge 2x thumb
When you say "generated," it builds the conversation Id from the numbers in some random fashion, because the conversation id I have has no similarity to the to and from number.

I do know that it seems to be the same always between the same to and from number.