Search SMS
SearchOutboundSMS
POST https://api.opentact.org/rest/sms/search/outbound
This will search all outbound SMS.
Query Parameters
skip
integer
>= 0 Default: 0
take
integer
[ 1 .. 100 ] Default: 10
Headers
Content-Type
string
application/json
Authorization
string
JWT or Bearer
Request Body
tn
number
take
integer
[ 1 .. 100 ] Default: "10" How many items to take
skip
integer
>= 0 Default: "0" How many items to skip
mode
string
(ESearchMode) Enum: "AND" "OR"
order
object
Order items by field's accepted values: · tn · to · message · state · created_on · modified_on · reference_id · delivered
created_on_from
string
created_on_to
string
modified_on_from
string
<date-time>
modified_on_to
string
<date-time>
message
string
[ 1 .. 918 ] characters Mask Supported
from
string
[ 3 .. 255 ] characters Mask Supported
to
string
[ 3 .. 255 ] characters Mask Supported
delivered
boolean
state
string
reference_id
string
Code Example
SearchInboundSMS
POST https://api.opentact.org/rest/sms/search/inbound
This will search all inbound SMS.
Query Parameters
skip
integer
>= 0 Default: 0
take
integer
[ 1 .. 100 ] Default: 10
Request Body
tn
integer
take
integer
[ 1 .. 100 ] Default: "10" How many items to take
skip
integer
>= 0 Default: "0" How many items to skip
mode
string
(ESearchMode) Enum: "AND" "OR"
order
object
Order items by field's accepted values: · tn · to · message · state · created_on · modified_on · reference_id · delivered
created_on_from
string
created_on_to
string
modified_on_from
string
<date-time>
modified_on_to
string
<date-time>
message
string
[ 1 .. 918 ] characters Mask Supported
from
string
[ 3 .. 255 ] characters Mask Supported
to
string
[ 3 .. 255 ] characters Mask Supported
delivered
boolean
readed
boolean
state
string
(ESMSIState) Enum: "created" "success" "failed"
Code Example
SearchSMS
POST https://api.opentact.org/rest/sms/search
This will search inbound and outbound SMS.
Query Parameters
skip
integer
>= 0 Default: 0
take
integer
[ 1 .. 100 ] Default: 10
Request Body
take
integer
[ 1 .. 100 ] Default: "10" How many items to take
skip
integer
>= 0 Default: "0" How many items to skip
mode
string
(ESearchMode) Enum: "AND" "OR"
order
object
Order items by field's accepted values: · tn · to · message · state · created_on - Default: DESC · modified_on · reference_id · delivered
created_on_from
string
created_on_to
string
modified_on_from
string
<date-time>
modified_on_to
string
<date-time>
message
string
[ 1 .. 918 ] characters Mask Supported
from
string
[ 3 .. 255 ] characters Mask Supported
to
string
[ 3 .. 255 ] characters Mask Supported
delivered
boolean
state
string
Enum: "created" "sending" "sent" "failed"
thread
string
33 characters
Code Example
Last updated
Was this helpful?