Skip to content

Inbound SMS and Reply-SMS

You can get incoming SMS (mobile originated - SMS-MO) sent via push to a script on your web server. You can receive incoming SMS for your individual inbound number. You can order it in your web account under Settings and Inbound number. You can also receive free replies to Economy SMS sent to Germany.

You can specify an individual endpoint (HTTPS or mail) for each phone number. Alternatively, you can receive all incoming messages using our Event Notification Service.

Push service means that our gateway sends HTTP requests with data to a script on your host. On response with HTTP status code < 200 or >= 300, service will do additional attempts but maximum three. The response of your script is not taken into account, so you need to monitor your script. In case of malfunctions we will not notify you. You can enter the URL for all push services in your LOX24 web account page (Settings -> API settings). Alternatively, you can also receive info about incoming SMS by e-mail.

Inbound SMS are sent as HTTP GET with the parameters sender_id for the sender’s phone number, text for the message text and time as time when message was sent in Unix timestamp format. For reply SMS to Economy SMS you also receive uuid as assignment to the initial SMS. For an inbound phone number, phone contains inbound (receiver) phone number and id contains the ID of the incoming SMS.

Inbound SMS by mail contains a JSON object with the same parameters.

ParameterTypeDescription
idintegerInbound SMS identifier (not for Economy reply SMS)
phonestringInbound phone number (not for Economy reply SMS)
sender_idstringSender’s phone number of the incoming SMS
textstringMessage text
timeintegerTime at which the SMS was received by LOX24
uuidUUIDID of the message that a reply has come (only for Economy reply SMS)