SMS API with own Message-ID

We have a new function for you. If you send your SMS via our new SMS API, you can also transfer your own Message-ID. Later we will send you back the same ID with the delivery reports. You no longer need to store our Message-ID in your system to assign delivery reports to your original message. And you can also use this function with bulk SMS.

If you send a single SMS, you can use the optional parameter “callback_data” to pass your own ID:

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

Later we send this value back to you in the delivery report. So you are not forced to use our Message-ID uuid.

And you can also use this feauture with bulk SMS. For each number you can assign a specific callback_data ID. If you create your group for bulk SMS and import the phone numbers afterwards, just add the corresponding value to each number which you want to use as 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 bulk SMS via API or also via the web interface, we will send you the delivery reports for each individual recipient including the ID you have 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.

You might also like

Mails in SMS umwandeln und so via SMS Gateway versenden

With Mail2SMS you can send SMS directly by e-mail without the need for any technical knowledge. A mail SMS gateway is a service that converts e-mails into SMS and forwards them to the desired recipients.

Register now and test for free

You can test our service with 50 Cent free credits. Register now!