Legacy Dev Forum Posts

 View Only

Sign Up

Ability to add participant data for agentless SMS

  • 1.  Ability to add participant data for agentless SMS

    Posted 06-05-2025 18:32

    pranavmusku | 2024-08-21 16:38:47 UTC | #1

    Hello,

    We are currently using this API

    /api/v2/conversations/messages/agentless

    to send the SMS from the IVR. The challenge we are having is, in the interactions (performance workspace) we have two separate conversation ID's: one for inbound call, the other for outbound SMS. Is there a way to add the conversation ID for inbound call in the participant data (or any equivalent) to the outbound SMS interaction? We just need to link the two conversations.


    Eos_Rios | 2024-08-21 23:22:09 UTC | #2

    Is there a reason you're not using the useExistingActiveConversation flag to encompass the SMS in the existing conversation natively or are you intentionally keeping them distinct but want to link them?

    If the latter, the return reply from /api/v2/conversations/messages/agentless includes the newly created conversationId, so you could just parse that an append it as an attribute to the initiating conversation. You could probably also use it to push the initiating conversation's id to the new conversation but it's generally easier to manipulate the conversation you're in.


    pranavmusku | 2024-08-23 16:13:44 UTC | #3

    Eos_Rios, post:2, topic:28044
    agentless

    Hey,

    Thank you for the response. Can you please let me know where to set the useExistingActiveConversation flag


    Eos_Rios | 2024-08-23 16:32:21 UTC | #4

    POST /api/v2/conversations/messages/agentless

    It's a top level property;

    {
      "fromAddress": "8885551212",
      "toAddress": "8775551515",
      "useExistingActiveConversation": true
    }

    system | 2024-09-22 16:31:40 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 28044