A2P SMS: automated SMS from your Software.
With LOX24, your application automatically sends SMS to customers and employees: verification codes, appointment reminders, shipping information or alerts. The messages run through the LOX24 SMS gateway with servers exclusively in Germany and reach 880 mobile networks worldwide.
- 99,9% availability
- 880 networks worldwide
- Servers in Germany
What is A2P SMS?
A2P stands for Application-to-Person. This refers to SMS that software sends automatically to people, triggered by an event such as an order, a login, or an appointment. Typical senders are online shops, banks, medical practices, logistics companies, and SaaS applications. A2P SMS is also called business SMS, enterprise SMS, or professional SMS.
A2P SMS
P2P SMS
Bulk SMS
What companies use A2P SMS for
A2P stands for Application-to-Person. This refers to SMS that software sends automatically to people, triggered by an event such as an order, a login, or an appointment. Typical senders are online shops, banks, medical practices, logistics companies, and SaaS applications. A2P SMS is also called business SMS, enterprise SMS, or professional SMS.
Why the sending route determines delivery
Not every A2P SMS reaches its destination via the same route. Reputable providers deliver via official connections to the network operators, so-called white routes or direct routes. Low-cost providers sometimes use grey routes: detours via foreign networks or SIM farms disguised as P2P. Such SMS are cheaper but arrive late, without the correct sender, or not at all. Network operators are increasingly blocking them.
LOX24 is directly connected to all major network operators. With the „Direct“ sending type, your SMS run via these connections without detours, with your sender name and a real delivery report.
- Direct connection — Official connections to the major network operators
- Real delivery report — For every SMS, the actual status from the network
- Own sender — Company name instead of unknown number
What to look for in an A2P SMS provider
A2P SMS for PHP, Python, Java, Go, C#, JavaScript
Your application sends an HTTP request to the LOX24 REST API for each message, and for large volumes, bundled via the bulk SMS API. Without your own programming, you can use ready-made integrations such as Zapier, Bitrix24, or Synology, via Mail2SMS, or via the LOX24 MCP server for AI agents.
A single curl call is enough – send JSON data to the /sms endpoint, with the authentication token included in the header.
With curl, you can use our HTTP interface in PHP and send SMS with just a few lines.
In Go, you only need the „net/http“ and „encoding/json“ packages to send your SMS to the gateway.
WebRequest.Create handles this for you and sends the most important data of your SMS to our gateway.
Python offers you several options – urllib, Requests, Octopus or HTTPie all work with the same endpoint.
The Java HttpClient sends your JSON data and keeps the connection alive between requests.
In Node.js, the built-in `fetch` function sends your payload directly to the SMS API.
Common questions about A2P SMS
What is the difference between A2P and P2P SMS?
Software automatically sends A2P SMS (application-to-person), for example a confirmation code after login. P2P SMS (person-to-person) are written manually by a person on their phone. A2P SMS via an SMS gateway such as LOX24 are intended for automated sending. Mobile network operators treat the two types differently.
Can’t I just send A2P SMS using a regular SIM card?
Technically, this is possible, but in practice you should not do it. Most mobile contracts prohibit automated bulk sending, and mobile network operators block suspicious SIM cards. In addition, there are no delivery reports, no option to use your own sender ID, and low throughput. An A2P gateway such as LOX24 is designed for automated sending and offers transparent per-SMS billing.
What are grey routes, and why are they a problem?
Grey routes are unofficial delivery routes in which A2P SMS are routed indirectly or via SIM farms and disguised as P2P SMS. They are cheaper but unreliable: SMS messages arrive late, with an incorrect sender ID, or not at all, and mobile network operators are increasingly blocking them. LOX24 delivers messages via official direct connections to mobile network operators.
Do I need to register my sender name?
That depends on the destination country. In Germany and most European countries, you can send directly using your company name. Some countries require prior registration of the sender, and LOX24 supports you with this. Which countries are affected is stated in the price list/documentation.
Do I need consent from recipients for A2P SMS?
For purely service-related messages that the customer expects, such as a requested code or an order confirmation, no separate advertising consent is generally required. Promotional SMS, by contrast, may only be sent with explicit consent. LOX24 supports this with opt-in and opt-out functions. For your specific case, we recommend a legal review.
Our API is this easy
A2P SMS for your use case
Mail2SMS, single SMS, and SMS-MO: inbound SMS
Try A2P SMS for free now
Create an account, create an API key, and your application sends its first SMS within minutes, with 50 cents starting credit and no contract.
