Sinch Conversation API

The Sinch Conversation API allows you to connect Chatlayer.ai to multiple channels at the same time.

You don't have to think about which type of message works with which channel – the Sinch Conversation API transcodes the messages automatically to match the target channel. Easy peasy!

Supported channels

You will find a complete list of the channels supported by the Sinch Conversation API is here.

How to deal with variables across channels

f multiple channels are connected to your Conversation API app, it can be useful to be able to send a specific flow depending on the channel the bot user is on. To do that, you can use the internal.sinchConversationAPI.channelIdentifier variable.

The possible values for the channel are:

internal.sinchConversationAPI.channelIdentifier: 
"CHANNEL_UNSPECIFIED"
"WHATSAPP"
"RCS"
"SMS"
"MESSENGER"
"VIBER"
"VIBERBM"
"MMS"
"TELEGRAM"
"LINE"
"INSTAGRAM"

Furthermore, there are a few other variables that store data coming from the Sinch Conversation API that might be useful to guide your flow:

internal.sinchConversationAPI.channelIdentity: 'USER_PHONE_NUMBER_OR_ID',
internal.sinchConversationAPI.contactId: 'CONTACT_ID_CONV_API',
internal.sinchConversationAPI.appId: 'APP_ID_CONV_API',
internal.sinchConversationAPI.conversationId: 'CONVERSATION_ID_CONV_API',
internal.sinchConversationAPI.metadata: string or key + value pair

You can learn more about how to use variables to guide your flow here.

Last updated

Was this helpful?