Pular para o conteúdo

SMS de entrada e SMS de resposta

You can get incoming SMS (mobile originated - SMS-MO) sent by a webhook to your web server. To receive incoming SMS you need to send Economy SMS to Germany OR you can order an inbound phone number by request to the support (berlin@lox24.eu.

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)