SMS API - for a streamlined, efficient, and scalable setup

inMobile's REST API allows you to integrate SMS functionality directly into enterprise applications and workflows.

Graphics showing REST API code

REST API

Use inMobile's SMS API for automated, efficient, and reliable SMS communication. This includes sending SMS messages to customers or employees, integrating SMS messages into customer service or support platforms, sending time-critical notifications and alerts, and automating marketing campaigns.

The API can also be used to retrieve incoming messages, such as service sign-ups or customer feedback directly from the organisation's own systems and applications.

Picture of a developer employee working with code in an office

+25,000 users are already using inMobile

CoopCoop
AarsleffAarsleff
DineroDinero
Stark GroupStark Group
DHLDHL
NorlysNorlys

Get started quickly with inMobile code libraries

inMobile's code libraries for PHP and .NET make it easy for developers to integrate SMS functionality directly into enterprise applications.


use Inmobile\InmobileSDK\InmobileApi;
use Inmobile\InmobileSDK\RequestModels\Message;
​
/*
 * Initialize the Inmobile API Client
 */
$api = new InmobileApi('my-api-token');
​
/*
 * Send the message
 */
$response = $api->messages()->send(
    Message::create('This is a message text to be sent')
        ->from('1245')
        ->to('4512345678')
);
use Inmobile\InmobileSDK\InmobileApi;
use Inmobile\InmobileSDK\RequestModels\Message;

/*
 * Initialize the Inmobile API Client
 */
$api = new InmobileApi('my-api-token');

/*
 * Send the message
 */
$response = $api->messages()->send(
    Message::create('This is a message text to be sent')
        ->from('1245')
        ->to('4512345678')
);

// Wrap the following in a try/catch - should also be done for all calls to the api
try
{
    var result = client.SmsOutgoing.SendSmsMessages(new List<OutgoingSmsMessageCreateInfo>() {
        new OutgoingSmsMessageCreateInfo(to: "4511223344", text: "Hello world", from: "FancyShop", statusCallbackUrl: null)
    });
    // statusCallbackUrl: Specify a url if you want report callbacks
}
catch (InMobileApiException ex)
{
    Console.WriteLine("Unexpected exception: " + ex.Message);
}
// Wrap the following in a try/catch - should also be done for all calls to the api
try
{
    var result = client.SmsOutgoing.SendSmsMessages(new List<OutgoingSmsMessageCreateInfo>() {
        new OutgoingSmsMessageCreateInfo(to: "4511223344", text: "Hello world", from: "FancyShop", statusCallbackUrl: null)
    });
    // statusCallbackUrl: Specify a url if you want report callbacks
}
catch (InMobileApiException ex)
{
    Console.WriteLine("Unexpected exception: " + ex.Message);
}
inMobile is super easy to get hold of. They are reliable and know what they are doing. What we've been most pleased with has been their stability. Both in terms of their API, support, and service."
Theis Jørgensen
Chief Revenue Officer
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
Before we introduced the SMS solution, we received 30-40 calls a day from customers who couldn't remember the code to the gates. Today, we very rarely receive calls as they get the codes sent to them by text message.
Brian Hansen
Property inspector
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
inMobile is an important communication tool for us. It could be warnings about suspicious emails in circulation […]. We can react quickly and the affected employees are notified within minutes."
Steen Guldborg
IT Manager
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.

Ready to see results? Try inMobile free for 14 days

Start your SMS journey today with 14 days free access to inMobile's entire SMS platform and discover how direct SMS communication can transform your customer contact and increase sales.

Graphics showing inMobile

Utilise the flexibility of a customised SMS solution

Flexible API solutions allow you to customise your integrations according to specific needs and business requirements.

Possibility of multiple API keys

If you integrate from multiple systems, generating an API key for each system is possible. This gives you the power to shut down a single system if necessary without affecting other systems.

IP whitelisting

Increase security and gain control over which machines communicate with the API. IP whitelisting allows you to control access to the API and ensure that only authorised devices and IP addresses can send messages via your specific API key.

Send-out windows

By defining specific time periods when SMS messages can be sent, you avoid disturbing your recipients unnecessarily - for example at night or on weekends. For businesses, it can also mean that all enquiries are handled efficiently during working hours.

SMS to templates

Write the message text in inMobile and handle the sending via inMobile's REST API. Let the marketing department formulate the campaign message in inMobile, while the development team ensures efficient execution via the intuitive SMS API.

Comprehensive API documentation

inMobile's API documentation is comprehensive and includes code libraries and useful examples to ensure fast and seamless integration. Detailed guides and practical resources make it easy for developers to implement the API.

Manage mobile users

The inMobile API makes it easy to manage mobile users, maintain lists, and update unsubscribed numbers. The API gives you full control over your SMS communication so you can efficiently manage your contacts and ensure your lists are always up to date.

SMS API

Code libraries

If you develop in PHP or .NET, you can quickly and easily integrate SMS functionality directly into your business applications. By using these libraries, you can quickly connect to inMobile's REST API and start sending SMS messages with minimal code.

The libraries handle everything from authentication to error handling, reducing complexity and saving development time. This is especially useful for those who want to automate SMS sending or integrate messaging features into existing systems without having to build the API connection from scratch.

Image of code and logos of PHP and C#
SMS API

Receive SMS messages via a webhook

Use webhooks in your communication strategy and discover how automated SMS messages can improve your workflows and reduce resource consumption.

With an HTTP GET or HTTP POST call to a specific URL, incoming SMS messages are handled automatically and efficiently.

Please note that a virtual phone number must be used to receive incoming SMS messages through a webhook.

Graphics showing how to set up HTTP call in inMobile
SMS API

SMPP (Short Message Peer-to-Peer)

inMobile supports SMPP, which is an industry standard protocol used to exchange SMS messages between device applications and SMSCs (Short Message Service Centres). SMPP supports features like two-way messaging and status report delivery.

  • inMobile supports SMPP version 3.4
  • Redundant connectivity options
  • Encryption via SSL/TLS
Picture showing a developer employee working with code in an office

Email to SMS

Send and receive text messages directly from your email application without installing software or logging into your inMobile account.

Whitelist email addresses or domains

For added security, you will need to specify which email addresses are authorised to send SMS messages via email to SMS. Only whitelisted email addresses or domains can send email to SMS via inMobile.

Use your brand as a sender

Write your company name so that it's the first thing the mobile user sees when they receive the text message. If you use a text sender instead of a phone number, the mobile user will not be able to reply to the SMS message.

Receive replies to your text messages

Want to receive replies to your SMS messages? Book a virtual phone number with inMobile. The recipient simply replies to the SMS message and the reply will then arrive your inbox.

Remove email signature and HTML elements

An email signature often contains information that is not relevant in an SMS message. This could be the company's logo, address, etc. This information is automatically removed from your SMS messages.

Mobile number cooldown

Keep track of the transmit frequency and avoid annoying the receiver. Enable mobile number cooldown in your email to SMS setup and exclude those mobile users who have already received an SMS within a certain timeframe.

Link tracking

inMobile adds tracking and automatically shortens your links to your organisation's domain. This reduces the amount of characters in your SMS, increasing your click-through rates and the recipients' engagement with your SMS messages. At the same time, you get useful data insights in the form of click-through rates in %.

Create new possibilities with innovative SMS integrations

FAQ: SMS API

Can inMobile send SMS to foreign numbers?

Yes, inMobile is connected to routing partners around the world.

Where do you host your SMS gateway and is everything backed up?

inMobile uses Scannet - a part of team.blue. We know that our software is a critical component of our customers' business. Therefore, everything is backed up. This also means that we strive for 100% uptime, but currently have an uptime of 99.998 %.

Can you tell me if the SMS message has been delivered?

Yes. Once we have a delivery report from the carrier in question, you can get it via our API. There are various ways to get these reports.

How often do you have service windows?

Our uptime is 99.998% measured over the past 12 months. We know that our software is a critical component of our customers' business. That's why our entire setup is backed up. This means that we can schedule most service windows without you even noticing.

Do you have code libraries for your API?

Yes, we have developed code libraries for PHP and .NET.

Where do I find my API key?

You can find and generate new API keys in your inMobile account.