SMS

Personal SMS text information. SMS information is a type of PII and is encrypted on weza.io servers.

Field

Data Type

Description

address

string

Required Message sender or receiver address name.

Read-only after creation

timestamp

number (timestamp format)

Required The numeric timestamp in milliseconds of the message as indicated on the source device.

For example, 1574620767564.

Read-only after creation

direction

string

( “inbound”, “outbound” )

Required Message direction. Inbound refers to an incoming message while outbound is outgoing.

Read-only after creation

rawBody

string

Required The message body.

Read-only after creation

read

number

(0, 1, 2)

Indicates whether the message was read or not.

Values are:

  • 0 - Not read

  • 1 - Read

  • 2 - Not available

Defaults to 2.

Read-write.

Last updated