SMS API.

A text message API that integrates seamlessly into your software

Our bulk SMS API enables you to send, receive and manage text messages at scale. With high-volume throughput, it connects directly with your CRM, app or website, giving you full control over customer communication from within your own software.

curl -X POST \
https://api.faretext.co.uk/v1/sms
-H "Authorization: Bearer ft_k3y..." \
-d '{
"to": "+447700900000",
"message": "Your order has shipped."
}'
$response = Http::withToken(
'YOUR_API_KEY'
)->post(
'https://api.faretext.co.uk/v1/sms',
[
'to' => '+447700900000',
'message' => 'Your order has shipped.',
]
);
import requests
response = requests.post(
'https://api.faretext.co.uk/v1/sms',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={
'to': '+447700900000',
'message': 'Your order has shipped.',
}
)
const response = await fetch(
'https://api.faretext.co.uk/v1/sms', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
},
body: JSON.stringify({
to: '+447700900000',
message: 'Your order has shipped.',
}),
});

Response 200 OK

{
"status": "sent",
"message_id": "msg_7x9k2m",
"credits_used": 1
}
98.5% delivery Direct routing 600 msg/sec Free setup

Performance

0

messages per second

peak throughput

0%

delivery rate

direct network routes

0%

platform uptime

carrier-grade reliability

<200ms

average latency

request to delivery

Why SMS API

Built for developers, designed for business.

Simplicity

During initial set-up, we determine the particulars of your solution and the terminating countries you wish to send to. Your integration is then designed in accordance with our API and the specific guidelines of each country. Most developers send their first message within 15 minutes.

Direct routing

All messages sent through our SMS API, UK or international, are submitted directly to the mobile network for processing. This guarantees the highest rate of delivery reliability and the most efficient delivery speeds.

Transparency

Via our API, retrieve the final delivery status of every message submitted through our system. Developed API calls allow your software to register whether an outbound message was delivered, sent, or failed in real time.

Scalability

Seamlessly manage SMS communication with thousands of customers directly through your own software, without limitations. Whether you have a small customer base or a large distribution list, our API handles up to 600 messages per second.

Fraud prevention

Our system uses active monitoring to prevent abuse and fraud through temporary suspensions and blocks, reducing risks like text bombing and inflated SMS traffic from revenue-share numbers.

Smart content

Our system can process multiple actions using a hosted reply number, based on triggered keywords received from text replies. Use keywords to segment into different databases, or send automatic acknowledgement messages in response to any reply.

BOOK INFO STOP HELP

How It Works

SMS API Messaging.

With our user-friendly SMS API, it's never been easier to integrate SMS into your software or application. Join the hundreds of developers that have used our example code to quickly and successfully introduce SMS messaging to their solutions.

Single & bulk SMS campaigns

As an established operator, we guarantee the highest quality service capable of handling up to 600 messages per second. Whether you need to send a simple acknowledgement or an urgent update to your entire customer base, our API is built to manage any volume or scale.

Personalised texts & trackable links

Customise Sender ID and insert personalised fields like name, date, and address into templated messages. Include fully trackable mini-URL links unique to every recipient to evaluate the performance of your SMS campaigns.

Receive message replies

With a rented reply number assigned to your account, receive text message replies back to your account or a nominated email address. Capture all messages, or segment into groups by asking customers to reply with a specific keyword.

Account management

Do much more than just send and receive messages. Manage contacts, create or delete groups, set up forwarding rules, request account balances, create STOP lists, and obtain the delivery status of every message.

Getting Started

Connect in 3 steps.

From sign-up to sending your first message in minutes.

01

Create a free account

Complete our registration form in a few seconds to create your account. Choose your preferred connection method and we'll load your account with free test credits.

02

Receive your credentials

Once you've chosen how to connect, your unique username and password or API key will be generated and emailed to you within minutes.

03

Integrate & go live

Use your account details alongside our example code and multi-language documentation to connect SMS functionality to your software and start sending.

Developer Tools

Developer tools.

Multi-language support

Our system works with PHP, .NET, C#, Java, Python, Ruby, and more. Copy and paste working code samples, follow our documentation, and send your first message in minutes.

Code samples Copy & paste ready
Documentation 7 languages
Setup time Minutes
Endpoints RESTful HTTPS
Delivery receipts Real-time
Support UK-based developers
Multi-language docs | RESTful API | Copy & paste samples
curl -X POST \
https://api.faretext.co.uk/v1/sms
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+447700900000",
"from": "MyCompany",
"message": "Your order has shipped."
}'
$response = Http::withToken(
'YOUR_API_KEY'
)->post(
'https://api.faretext.co.uk/v1/sms',
[
'to' => '+447700900000',
'from' => 'MyCompany',
'message' => 'Your order has shipped.',
]
);
import requests
response = requests.post(
'https://api.faretext.co.uk/v1/sms',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={
'to': '+447700900000',
'from': 'MyCompany',
'message': 'Your order has shipped.',
}
)
const response = await fetch(
'https://api.faretext.co.uk/v1/sms', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
to: '+447700900000',
from: 'MyCompany',
message: 'Your order has shipped.',
}),
});

Connection Methods

Multiple ways to connect.

Choose the integration that fits

Whether you're building a new integration or migrating from another provider, we offer flexible connection options to suit your technical requirements. Pick the method that works best for your software and get started immediately.

Enterprise

SMPP High-Volume.

Enterprise-grade messaging

For organisations requiring the highest throughput, our SMPP 3.4 integration offers an alternative to the HTTP API. Designed for high-volume broadcasting, it processes up to 600 messages per second with simultaneous delivery receipts, ideal for enterprise-scale communication.

Protocol SMPP 3.4
Delivery receipts Simultaneous
Throughput 600 msg/sec
Account management Dedicated
600 msg/sec | 99.9% uptime | Direct routes | Free support

API SMS messaging at Faretext.

Take your organisation to the next level. Simply integrate your website, app, software or CRM.

25 free credits to test. No contract. UK-based support.

FAQS

SMS API FAQs.

An SMS API (Application Programming Interface) is a set of protocols that allows your software to send, receive, and manage text messages programmatically. Instead of manually composing messages, your application communicates directly with our SMSC to handle messaging automatically — perfect for notifications, alerts, marketing campaigns, and two-way customer communication.
Getting connected is straightforward. Sign up via our connect page, and we'll provide your credentials — either a username/password pair or an API key. Use these with our documented endpoints and code samples (available in PHP, Python, Java, .NET, Ruby, and cURL) to start sending messages within minutes.
Your application sends an HTTPS request to our API endpoint containing the recipient's number, your message, and authentication credentials. Our SMSC validates the request, routes the message directly to the recipient's mobile network, and returns a delivery receipt so you can track the status of every message in real time.
An SMSC (Short Message Service Centre) is the infrastructure that sits between your application and the mobile networks. It receives your API requests, converts them into the correct format for each network operator, and delivers them to the recipient's phone. Our SMSC connects directly to UK and international networks for fast, reliable delivery.
You can send transactional messages (order confirmations, delivery updates, one-time passcodes), marketing messages (promotions, offers, campaigns), notification messages (appointment reminders, alerts), and two-way conversational messages using reply numbers. Messages can be personalised with custom sender IDs and dynamic content fields.
Any business that needs to integrate messaging into their software benefits from an SMS API. This includes healthcare providers (appointment reminders), eCommerce platforms (order updates), financial services (security codes), logistics companies (delivery tracking), and SaaS providers (user notifications). If your software communicates with customers, an SMS API adds instant, reliable reach.
Yes. While accounts are set up for UK messaging by default, adding international access is straightforward. Each country has specific rules for SMS delivery, and we provide guidance on compliance requirements. Visit our pricing page for international rates and coverage details.
We provide 25 free credits when you sign up, allowing you to test the platform at no cost. After that, you pay only for the messages you send — no monthly fees, no setup charges, and no minimum commitments. Visit our pricing page for current per-message rates.
Key benefits include automation (send messages without manual intervention), scalability (handle up to 600 messages per second), reliability (direct network routes with 98.5% delivery rates), flexibility (works with any programming language), real-time tracking (delivery receipts for every message), and cost efficiency (pay only for what you send).
Full API documentation, including endpoint references, authentication guides, code samples in multiple languages, and integration tutorials, is provided when you create your account. Our UK-based support team is also available to help with any technical questions during integration.
An API key is a unique alphanumeric string that authenticates your application when making API requests. It replaces the traditional username/password method and is inserted directly into your code. API keys are more secure, easier to manage, and preferred by modern software architectures.
An API key verifies that requests to our SMSC are coming from your authorised application. It prevents unauthorised access, allows us to track usage per account, and provides a simple, secure method of authentication without exposing login credentials in your codebase.
When you create your account via our connect page, you can choose API key authentication. Your unique key is generated automatically and sent to you securely. For security, the key is only displayed once during initial setup — store it safely as it cannot be retrieved later.
Legacy integration uses a username and password pair for authentication, while API key integration uses a single alphanumeric token. API keys are generally considered more secure as they don't expose login credentials. Legacy authentication is maintained for compatibility with established software that already uses username/password methods.
Never share your API key publicly or commit it to version control. Store it in environment variables or a secure secrets manager. Use HTTPS for all API requests. Rotate keys periodically if your security policy requires it. If you suspect a key has been compromised, contact us immediately to generate a replacement.

We value your privacy

We use cookies to enhance your browsing experience, analyse site traffic, and serve personalised content. You can choose which categories of cookies you allow below. cookies | privacy | terms | anti-spam