Opens in a new tab
New
SMS MCP server: Let your AI agents send SMS and voice messages
Learn more

SMS API with its own message ID

We have a new feature for you. When you send your SMS via our new SMS API, you can provide your own message ID. Later, we will send you the same ID with delivery reports. This way, you no longer need to store our message ID in your system to associate the delivery reports with your messages. And…

We have a new feature for you. When you send your SMS using our new SMS API, you can provide your own Message ID. Later, we will send you the same ID back with delivery reports. This way you no longer need to store our Message ID in your system to associate the delivery reports with your messages. And you can also use this feature with mass SMS.

If you have a Send individual SMS messages, Then you can use the optional parameter „callback_data“ to pass your ID:

{
"text": "string",
"sender_id": "string",
"phone": "string",
"delivery_at": 0,
"source": 0,
"is_unicode": null,
"callback_data": "string",
"service_code": "string"
}

Later we will send this value in Return of the delivery report To you. So you are not required to use our message ID uuid.

And you can also use the callback_data ID for mass SMS messages. If you have your Create a group for mass SMS sending and then the Importing phone numbers, Simply add the corresponding value to each number that you want to use as the callback_data ID:

curl -X POST https://api.lox24.eu/groups/7116/phones/batch' \
  -H 'Content-Type: application/json' \
  -H 'X-LOX24-AUTH-TOKEN: e3f3a759b6677959b6ebfcxxxxxxxxxx'
  -H 'X-LOX24-CLIENT-ID: 1234567' \
  -H 'Accept: application/json' \
   -d [{
            'phone': "+4912345678",
            "callback_data": "123456"
        },
        {
            "phone": "+4112345678",
            "callback_data": "987654"
        }]"

If you now send your mass SMS via API or the web interface, we will then send you the delivery reports for each individual recipient, including the ID you assigned. This applies both when we send the delivery reports via GET to a script on your system, and for the delivery reports via email.

Keep Reading

All articles
SMS API
Sep 2024

How does SMS message filtering work?

The filtering functions of LOX24 allow you to cover your costs and protect yourself from attacks and malfunctions…

SMS API
Jun 2024

How to Use Symfony SMS & Voice Notifications

Follow these steps to send SMS and voice notifications in Symfony. The integration of SMS notifications…

SMS interface, SMS API, SMS gateway
Jan 2024

Mail2SMS: SMS Gateway Made Easy via Email

With Per Mail2SMS you can send SMS directly via email, without the need for technical knowledge. A…

2FA, SMS interface, SMS API
Jan 2024

RSA Authentication Manager SMS Sending

LOX24 SMS can be seamlessly integrated into RSA SecurID, a leading platform for identity and access management…

SMS API, sms-gateway-en
Jan 2024

Instructions: Send PowerShell SMS

You can send SMS using PowerShell. Simply use the SMS API interface from LOX24. In…

SMS interface, SMS API
Jan 2024

Guide: Sending SMS with PowerShell

With PowerShell you can send SMS messages. Simply use the SMS API interface from…

SMS interface, SMS API
Dec 2023

SMS Secrets: How to Increase Your Revenue

Text messages are an effective way to reach your customers and increase sales.

SMS API
Dec 2023

How can I increase my revenue with SMS?

Increase your revenue with SMS marketing campaigns, customer retention, and abandoned cart recovery.

2FA, MFA, SMS interface, SMS API
Oct 2023

Auth0 SMS and Voice 2FA

Our SMS integration allows you to use LOX24 as a MFA provider for Auth0, so you can use one-time passwords…

Test for free!

Sign up today and get 50 cents free, with no obligations, for your trial — filters included.