Below is our standard data structure for an SMS:

conversation_id
string
default: "none"

Unique Identifier for the chain of messages or conversation.

message_id
string
default: "none"

Unique identifier for the individual message.

created_at
string
default: "none"

The data time that the message was created. Expects ISO format, e.g. 2023-01-01T00:00:00.

portfolio_id
string
default: "none"

The Travtus Unique Identifier for the community.

message_text
string
default: "none"

The body text of the message.

first_name
string
default: "none"

The first name of the sender.

last_name
string
default: "none"

The last name of the sender.

sender_ext_ref
string
default: "none"

The unique identifier from the clients system of record.

phone_number
string
default: "none"

The senders phone number.

email_address
string
default: "none"

The senders email address.

message_direction
string
default: "none"

The direction of the message - whether it was sent inbound from a customer or outbound to a customer.