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.


Hi everyone,

I’m Darshan Hiranandani, I’m currently using the JavaScript API client to create a conversation automatically when users sign up to our app. However, we’d like all messages in that conversation to be sent via SMS, assuming that the SMS channel is already properly set up in Intercom.

I’ve been looking through the intercom.conversations.create and intercom.messages.create methods, but I don’t see an option to explicitly specify a channel, such as SMS, when creating a conversation or sending messages.

Has anyone faced a similar situation? Is there any way to set the channel to SMS programmatically through the API, or is this not possible right now? If it’s a dead end, are there any workarounds or suggestions you might have?

Looking forward to hearing your thoughts and suggestions.

Thanks in advance!

Regards

Darshan Hiranandani

 


Hi everyone,

I’m Darshan Hiranandani, I’m currently using the JavaScript API client to create a conversation automatically when users sign up to our app. However, we’d like all messages in that conversation to be sent via SMS, assuming that the SMS channel is already properly set up in Intercom.

I’ve been looking through the intercom.conversations.create and intercom.messages.create methods, but I don’t see an option to explicitly specify a channel, such as SMS, when creating a conversation or sending messages.

Has anyone faced a similar situation? Is there any way to set the channel to SMS programmatically through the API, or is this not possible right now? If it’s a dead end, are there any workarounds or suggestions you might have?

Looking forward to hearing your thoughts and suggestions.

Thanks in advance!

Regards

Darshan Hiranandani

 


Hey everyone,

We're using the JavaScript API client to create conversations programmatically when new users sign up for our app. Our goal is to ensure that all messages related to these conversations go through SMS.

From what I can see in the documentation, there doesn't seem to be a clear way to specify the channel (like SMS) when creating a conversation using the intercom.conversations.create or intercom.messages.create methods. We’ve already set up the SMS channel correctly in Intercom, but I’m not sure how to link the conversation to this specific channel programmatically.

Has anyone tried this or found a solution? Is it possible to force SMS as the default channel for all messages in a conversation, or are we hitting a limitation?

Would love to hear suggestions or insights from anyone who’s worked with this setup!

Thanks!

Regards

Darshan Hiranandani


Reply