Evidence report HTTP response example
The top level of the response contains a results
object with individual message objects, and a next
field containing the Unix timestamp (integer) of the next message if there are more messages in the channel. The next
field is returned as null
if there are no more messages to return. Use the next
value as the start_ts
in a subsequent request to retrieve the next page of results. Each message object contains a message_id
, sender_id
, and an array of message_versions
.
The message_versions
field contains a timestamp, the message body, and an optional unsafe_message
field if filtering is applied.
The messages displays in ascending order with the oldest message in the results first. Message versions display in descending order with the most recent message version first and the oldest message version last.
Below is an example Text Evidence Management response:
{
"results": [
{
"sender_id": "sip:your-issuer.username1.1234.@yourdomainname.vivox.com",
"message_versions": [
{
"unsafe_message": "Message 1: Edit 2: testing the fucking filter",
"timestamp": 1697117082123458,
"body": "Message 1: Edit 2: testing the **** filter"
},
{
"timestamp": 1697117040123457,
"body": "Message 1: Edit 1"
},
{
"timestamp": 1697117012123456,
"body": "Message 1"
}
],
"message_id": "434461955301228290"
},
{
"sender_id": "sip:your-issuer.username2.1234.@yourdomainname.vivox.com",
"message_versions": [
{
"timestamp": 1697117091123459,
"body": "Message 2"
}
],
"message_id": "434461975538075906"
},
{
"sender_id": "sip:your-issuer.username1.1234.@yourdomainname.vivox.com",
"message_versions": [
{
"timestamp": 1697117217124567,
"body": "Message 3"
}
],
"message_id": "434462007728276226"
},
{
"sender_id": "sip:your-issuer.username2.1234.@yourdomainname.vivox.com",
"message_versions": [
{
"timestamp": 1697117224124568,
"body": "Message 4"
}
],
"message_id": "434462009596678402"
}
],
"next": null
}