Genesys Cloud Developer Forum

Get conversation type

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.


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.

John Carnell
Manager, Developer Engagement

Thanks John, much appreciated.

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