Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Get conversation type

    Posted 06-05-2025 18:20

    Gavin_Baumanis | 2021-11-16 23:20:42 UTC | #1

    Hi there, Is there a way to obtain the conversation type? I.e. I have the {conversationId} and all I need to know is; Is this conversation a "chat" / "call" / "fax"?

    But I can't seem to find a specific API call for conversation type.

    Thanks!


    John_Carnell | 2021-11-18 15:20:58 UTC | #2

    Gavin_Baumanis, post:1, topic:12674
    {conversationId} and

    Hi Gavin,

    The conversation itself does not have a type. Instead, the participants in the conversation have a "purpose" attribute that indicates how that user is participating in the conversation.

    You should be able to use GET /api/v2/conversations/{conversationId}/details endpoint to retrieve the conversation data. The actual enumerated types by the participant are defined here.

    The chat/call/fax endpoints are used if you know a head of time that a particular conversation is contained within a single channel.

    I hope that helps.

    Thanks, John Carnell Manager, Developer Engagement


    Gavin_Baumanis | 2021-11-19 05:48:48 UTC | #3

    Thanks John, much appreciated.


    system | 2021-12-20 05:49:16 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: 12674