Skip to content

Retrieves the collection of Incoming SMS

GET
/incomings

Getting the list of incoming SMS ordered by the field received_at in descending order. The postbox contains all inbound sms and replies. For SMS replies property ‘msg_uuid’ filled by correspond /sms entity.

page
integer
default: 1 >= 1

Current page

_order[received_at]

Sort order direction (ascending or descending)

string
default: asc
Allowed values: asc desc

Sort by timestamp when the Incoming sms was received

text

The message text can have a length of up to 1530 characters. With a Unicode SMS, the maximum character length is reduced to 670 characters. Internal encoding is UTF-8.

string

Partial case-insensitive text filter SMS by the message text

from
string
>= 1 characters <= 16 characters /^\+?[1-9]\d{0,14}$/

Partial case-insensitive text filter by sender’s phone number

to
string
>= 1 characters <= 16 characters /^\+?[1-9]\d{0,14}$/

Partial case-insensitive text filter by inbound’s phone number

msg_uuid

Unique entity UUID

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/

Exact filter by initial SMS ID

msg_uuid[]
Array<string>

Exact filter by initial SMS ID

Incomings collection

object
member
required
Array<object>

Incoming SMS

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
uuid

Unique entity UUID

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
to

Recipient (international) number:

  • +491701234567 (E.164)
  • 00491701234567
  • 491701234567
  • 01701234567 (if the account is registered in Germany) will be convert to +491701234567

If the number is not in an E.164 format then the service will convert it based on user’s address. To avoid problems with the converting please use E.164 preferentially.

string
>= 7 characters <= 16 characters /^\+[1-9]\d{1,14}$/
from

Recipient (international) number:

  • +491701234567 (E.164)
  • 00491701234567
  • 491701234567
  • 01701234567 (if the account is registered in Germany) will be convert to +491701234567

If the number is not in an E.164 format then the service will convert it based on user’s address. To avoid problems with the converting please use E.164 preferentially.

string
>= 7 characters <= 16 characters /^\+[1-9]\d{1,14}$/
received_at

Timestamp when SMS was received by the service

integer
text

SMS text

string | null
msg_uuid

ID of SMS that get reply

string | null
hydra:totalItems

Total number of items in the collection

integer
hydra:view

Pagination links for navigating the collection

object
@id
string format: iri-reference
@type
string
hydra:first
string format: iri-reference
hydra:last
string format: iri-reference
hydra:previous
string format: iri-reference
hydra:next
string format: iri-reference
hydra:search

Search and filtering template for the collection

object
@type
string
hydra:template
string
hydra:variableRepresentation
string
hydra:mapping
Array<object>
object
@type
string
variable
string
property
string | null
required
boolean
Example
{
"member": [
{
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"to": "+14155552671",
"from": "+14155552671"
}
],
"hydra:view": {
"@id": "string",
"@type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
}
}

Invalid input

Client ID or API key isn’t active or invalid!

Account isn’t activated. Please wait or contact to support!

IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.

Code Samples

#!/usr/bin/env bash
curl -X GET https://api.lox24.eu/incomings \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx'