Blog Technology & Transformation

Two Way SMS Texting: How to Integrate it into Your Product

What is two way SMS texting?

Everyone is used to conversing with friends using SMS texts. Messaging with businesses is becoming popular as well. This is because SMS texting is a great way to reach your customers; it has up to a 98% open rate within 3 minutes. This means that you can directly get in touch with your customers and ensure they see it. Setting this up is very easy too. You can do it from the portal, or you can set it up through APIs to do it programmatically based on triggers you set. In this article, we’ll talk about some of the most common use cases as well as how to set it up through simple lines of code.

Common use cases for two way SMS texting

  • Appointment confirmations and reminders – having customers miss appointments translates to lost revenue. By sending an appointment confirmation text a day or two before asking the customer to reply yes to confirm the appointment or reply no to cancel or reschedule the appointment, businesses can dramatically decrease their no-show rate.
  • Customer support – having customers text you with support questions is a very convenient method for them to use. Support agents can reply back to it, and it will go directly to the customers’ messages. Businesses that implement SMS texting as a support channel often see a sizable reduction in the number of phone calls.
  • Opt-in messages – There are some government regulations that require customers to opt-in before receiving messages from companies. By getting a customer to text you saying they give you permission to text them, you will be more compliant.
  • Managing subscriptions to messages – Consumers must have the ability to opt-out of messages by replying to the messages with a message such as “stop” or “opt-out” in order to comply with regulations in many countries. By setting up two way SMS, you’ll have the ability to manage this programmatically.
  • Recruiting – Innovative recruiting firms are interacting with their interviewees over texting now as well. This creates a more personal connection than email alone. Additionally, the response times from the interviewee are typically much faster, because they can have a more instant dialogue and move opportunities along quicker than through email.

How to build two way SMS texting into your product

Watch the below video to see how to integrate two SMS texting into your product. Let’s see the code in action.

 

Having audio issues? Here’s the video transcript:

8×8’s SMS API provides a programmatic way to create two way SMS conversations for uses such as a customer support channel and appointment confirmations. Let’s see the code in action.

We’ll use two procedures: one script to send the SMS and another script that will listen for the response. First, we start by building the script that will send the outbound SMS. For that, we will have four dynamic fields including the 8×8 SubAccountID, API Key, phone number, and text message body. We’ll provide those last two as input in the script for this example. I’ll close the file and run it later.

Next, let’s create a simple script that will listen for incoming messages and print out the text message body for each message received. I’ll use an available port in my system for new incoming messages, and because the incoming message will be in JSON format, I’ll make sure to parse the JSON and then print out the message received to display it to you.

So let’s give it a try, first we execute the script that will listen for incoming messages and then we execute the script that sends out the message to my mobile phone.

As you can see, I receive the message right away. I’m going to reply back, and we can see the reply arriving to my server and the body of the message received being printed on the console.

It’s that easy to send and receive messages using 8×8’s SMS API.

Check out the documentation to learn more.

Explore Related

Screenshot 2026 01 05 at 2.19.23 PM
Technology & Transformation
January 5, 2026

8×8 Acquires Maven Lab to Expand APAC CPaaS Scale & Trusted Messaging

Sylvain Chaperon

8x8 acquires Maven Lab to strengthen CPaaS scale across Southeast Asia and accelerate trusted, intelligent messaging across APAC - combining regional execution with global reach.

rowan freeman clYlmCaQbzY unsplash
On-Demand Services
January 5, 2026

Secure OTP Logins for Gig Economy Apps with Verif8

Benjamin Kuo

Strengthen gig economy apps with secure OTP logins using Verif8 for fast onboarding, fraud prevention, and seamless mobile authentication.

8x8 brand photo manufacturing g1281108375 1
Security & Fraud Protection
January 2, 2026

Real-Time Fraud Prevention in Shipping Confirmations with Omni Shield

Benjamin Kuo

Protect shipping confirmations with real-time fraud prevention using Omni Shield to block AIT attacks, stop SMS fraud, and safeguard customer communication.

Talk to an Expert

Complete this form and an 8x8 sales specialist will reach out to you shortly.

8x8 SMS API allows you to efficiently reach your customers by automating notifications, OTPs, reminders and alerts with a high delivery rate.

Thank you for your interest!

An 8x8 sales specialist will reach out to you shortly.

Any urgent enquiries and help needed?

Email [email protected]

Support Visit support site

To top
This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.