Question

SMS Conversations

  • 15 March 2018
  • 2 replies
  • 3196 views

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


2 replies

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.  

Yes it is... you can use the same conversation ID and that will match with the original message and the reply message. It can create a series of sms as a thread

Reply