Sinch Conversation API
The Sinch Conversation API allows you to connect Chatlayer.ai to multiple channels at the same time.
Last updated
Was this helpful?
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!
You will find a complete list of the channels supported by the Sinch Conversation API is here.
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 pairYou can learn more about how to use variables to guide your flow here.
Bear in mind that different channels accepts different message types.
Last updated
Was this helpful?
Was this helpful?