This article details the steps required to set up a Sinch Push channel for use with the Sinch Conversation API.
Before you can set up a Sinch Push channel on the Conversation API, you need to do the following:
If you have already completed the Conversation API Getting started steps, you can skip this section.
- Sign up for the Sinch Build Dashboard.
- Get access to the Conversation API.
- Create your app.
- Create your access key. Any API calls you make will require authentication information provided by your access key.
Refer to the Conversation API Getting started section for more information on any of these steps.
In order to use a Sinch Push channel, you must configure at least one Sinch Push client. The code for that client must include a Client ID and Configuration ID generated from the Sinch Build Dashboard.
For information on using the Sinch Build Dashboard to generate a Client ID and Configuration ID, see How do I use the Sinch Build Dashboard to set up a Sinch Push client? on our Community site. The Sinch Build Dashboard wil also provide you with templates that can be used to create push clients for the following platforms:
For information on how to configure a push client for Android, click here.
For information on how to configure a push client for iOS, click here.
Each Sinch Push channel is preconfigured with the creation of your Conversation API app. No additional configuration steps are required.
Prior to sending messages, you need to set the channel priority in your app. Note that, when specifying a Sinch Push channel, you must use the value SINCH_PUSH
. Also, when sending messages, you'll need to make sure you have the recipient
information of the contact to which you are sending the message.
If you already know how to set channel priority, or your channel priority is already established, you can begin sending and receiving messages in your preferred language: