Evidence report HTTP response example
Example HTTP response formatting with message data from evidence report queries.
Read time 1 minuteLast updated 7 months ago
The top level of the response contains a object with individual message objects, and a field containing the Unix timestamp (integer) of the next message if there are more messages in the channel. The field is returned as if there are no more messages to return. Use the value as the in a subsequent request to retrieve the next page of results. Each message object contains a , , and an array of .
resultsnextnextnullnextstart_tsmessage_idsender_idmessage_versionsThe field contains a timestamp, the message body, and an optional field if filtering is applied.
message_versionsunsafe_messageThe 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}