SMS API

Send and receive SMS or MMS globally with the Telnyx Messaging API, our award-winning platform recognized as a leader for its results and ease of use.

ABOUT

SMS messaging with confidence

Reach users at scale wherever they are in the world with SMS for marketing campaigns and triggered SMS alerts to keep them informed when it counts. Augment existing communications with AI chatbots—automating the most repetitive tasks to reduce operational strain—and engage in text conversations to solve customer problems faster.

 

Supported number types for SMS are long code including 10DLC, toll-free, alphanumeric sender ID and short code numbers.

FEATURES

SMS API with automated optimization and reporting

Whether it’s detailed, transparent delivery reports or automated delivery optimizations, our billion-scale Messaging API is built to take you from small to massive with ease.

Message queuing

Our automated message queuing is set based on your account limits and the latest industry standards, ensuring maximum throughput without compromising delivery or compliance.

Automatic opt-outs

If a customer replies to a message from the Telnyx API with a “stop word” message (e.g. STOP), Telnyx will automatically unsubscribe them from future sends.

Detailed debugging

Intuitive debugging tools are available to all users in our portal, so you can troubleshoot your calls with full visibility.

Message concatenation

If a SMS is too long for its destination, our API will automatically separate it into two messages. No more breaking out content into parts—we’ll handle that for you.

Use existing numbers to send SMS

Have an existing, well-known number that you want to send SMS from? With Telnyx Hosted SMS, you can send and receive SMS and MMS without even changing providers.

Intelligent message encoding

We support any character set and language type. Our system automatically chooses the most compact encoding possible, minimizing cost per send.

Benefits

#1

Developer-friendly, scalable SMS API

Developer-friendly, scalable SMS API

Among SMS API providers, Telnyx consistently wins awards for its results and ease-of-use. We take care of the details as you scale, so you don’t have to.

Reduce costs without reducing results

Through our commitment to value through optimization, our platform and team ensure you get a great deal without sacrificing performance.

30%

Typical savings on Messaging Costs

HOW IT WORKS

Purchase or port number(s) with SMS capability. If you have an existing number that you wish to port, try our Hosted SMS solution.

Set up a Messaging profile and complete any required registrations (such as 10DLC brand and campaign setup). You can do this via the Portal or our API.

Connect to our all-in-one SMS API service with your credentials. Test sending and receiving to and/or from handsets. Work closely with our award-winning expert support team to resolve any issues.

Scale your messaging with one of the world’s only billion-scale Messaging APIs. Notifications, marketing and outreach, customer support, sales and much more.

RESOURCES

Start building

Our code is your code.

Messaging API documentation

Telnyx’s Messaging API supports sending and receiving both SMS and MMS. Check out our award-winning developer docs to find out more.

15 minute code tutorial

In this tutorial, we show you how to build an SMS appointment reminder service in 15 minutes.

Overview: Hosted SMS

Learn about sending and receiving SMS via an existing number with Telnyx Hosted SMS.

PRICING

See our SMS API pricing

Customers typically save 30% by switching to Telnyx, with lower list pricing and automatic volume discounts.

Starting at

$0.004

per message

Messaging API documentation

Telnyx’s Messaging API supports sending and receiving both SMS and MMS. Check out our award-winning developer docs to find out more.

15 minute code tutorial

In this tutorial, we show you how to build an SMS appointment reminder service in 15 minutes.

Overview: Hosted SMS

Learn about sending and receiving SMS via an existing number with Telnyx Hosted SMS.

SOLUTIONS

Build what you need with flexible voice

Account Notifications

Easily build a customer notifications system by using our SMS API.

SMS Customer service

Send and receive SMS from a specially-selected number or even port an existing one.

SMS marketing

Build your own SMS Marketing Software with our API and we’ll take care of the details.

CUSTOMER STORIES

Explore more customer stories

OneText

How OneText scaled 200X and won more enterprise customers using Telnyx

Talentify

How Talentify saved 10h of developer time per week switching to Telnyx Messaging

goHappy

How goHappy reduced compliance wait times by 80% after switching to Telnyx

eBook

SMS Deliverability Guide

Check out our analysis of >1 billion SMS / MMS messages.

In this comprehensive guide, we cover:

  • The truth about SMS delivery rates
  • The quantitative difference between top performers and the rest
  • How to become a top performer in terms of delivery
  • Common mistakes and pitfalls to avoid
  • Error codes, acronyms and other important delivery related jargon and much more.

Ready to get started?

FAQ

An SMS API (or SMS Gateway API) is a software interface that allows developers to build code that can send and receive SMS messages using an Application Programming Interface (API).

To get started, sign up for a Portal account, then follow the steps in our quickstart guide to buy an SMS-enabled number, create a messaging profile and start sending text messages.

An SMS API works by allowing developers to simply connect our external SMS interface into your existing infrastructure. This enables a smooth passing of commands and responses between your application to the interface and back, which allows you to send and receive SMS anywhere in the world.

Telnyx offers market-leading prices for feature-rich SMS, starting at just $0.004 to send an SMS on a local number. We currently do not offer free SMS, but you can easily add small amounts of money (e.g. $10) via credit card or even Bitcoin. You can find detailed pricing information here. Telnyx also offers even greater discounts as you scale, or when you’re ready to commit to monthly usage—talk to our sales team about your specific needs.

Yes, we provide SDKs in Python, Java, Node, Ruby, .NET and PHP, with more coming soon. These API wrappers help cut down integration time so you can get to market faster.

Telnyx has the ability to scale with you and supports large scale and broadcast messaging—just make sure your messages follow the Telnyx Acceptable Use Policy.

Yes, Telnyx supports rich media texting (MMS), so you can send images, gifs or videos as needed.

Absolutely! Short codes are perfect for sending and receiving high volume texts. You can find more information about Telnyx short code SMS.

An alphanumeric sender ID lets you send messages using a custom ID constructed from a combination of alpha (a-z, A-Z) and numeric (0-9) characters as well as spaces. Companies can set their brand name as the ID (e.g. TELNYX), which makes it easy for the receiver to identify the sender. It’s often used for sending one-way text messages, since the person receiving the message will be unable to reply with an Alphanumeric Sender ID.

 

You can integrate messaging into a range of different applications, including two-factor authentication, SMS marketing, political campaigns, customer support and more.

Carrier fees are passthrough fees charged by carriers in relation to numbers hosted on their network. These vary based on the sending number type, content sent and in certain cases compliance status. For example, AT&T charges a specific fee for unregistered 10DLC traffic sent to numbers hosted on its network. As of July 2023, Telnyx does not charge a markup on carrier fees.

Each number type has its own limitations and we recommend considering your use case in depth before choosing a number type. As a generalisation, for North American senders, 10DLC is the most commonly used, with Toll Free emerging as a high value alternative. Short Code is ideal for high volume, recognisable numbers, and Alphanumeric is used for 1-way international SMS notifications from a custom ID.

Resources, Docs, Support

sms api hub

Send a Message on the Quantrova Platform

A short description of this page

Receive SMS and MMS | Telnyx

inbound SMS or MMS

Messaging APIs | Telnyx

With the Messaging family of products, you can send and receive SMS/MMS messages from your apps, facilitate interaction with The Campaign Registry (TCR) for 10DLC compliance, and more!

Learn about the powerful features of the Quantrova SMS API

What is an SMS API? Dive into the world of real-time messaging, which connects apps to telecom networks, and discover its potential for your business.