Skip to main content

We’re using the Javascript API client to create a conversation programmatically when users sign up to our app.

We’d like all messages of the conversation to each go through SMS. Is that possible, provided that the SMS channel is set up correctly in Intercom?

I’m not seeing any way to specify a channel in the `intercom.conversations.create` method, or even in `intercom.messages.create`.

Is this a dead end?

Thanks!

Hi @Services at Bright Harbor , It’s Mat from the Support Engineering Team 😀

Currently, it is not possible to send SMS messages directly through the Intercom API. While you can create conversations programmatically using the Javascript API client, the messages within those conversations cannot be set to go through SMS by default.
However, you can trigger SMS messages indirectly by submitting an event via the API, and then having the SMS message sent based on that event.
This means that although you can initiate a conversation when users sign up, the conversation itself will not be conducted over SMS through the API.
To send SMS messages, you would need to rely on external processes or services that are set up to handle SMS delivery in response to the events you track through Intercom


Hi Mat,

Can you point us towards docs for the APIs/models for the event system you mention?

Thank you


Sure @Services at Bright Harbor ,

Here is an article that will guide through the setting of event process.


Reply