Plivo's Messaging Platform lets you customize data storage preferences for your SMS, MMS, and WhatsApp messages.
Outbound Messages
The data logging preference for outbound messages is set as a parameter in the Send Message endpoint and is applied at the message level. There are four settings for adjusting your data storage preferences as follows:
Setting option | Description | Log Parameter Status | Destination Number Stored | Message Content Stored |
Store Both Number and Message Content (Default) |
Stores the destination number for 90 days and message content for 7 days. | Set to ‘true’ | Yes, for 90 days | Yes, for 7 days |
Redact Both Number and Message Content | Partially redacts destination numbers. Does not store the message content. | Set to ‘false’ | Partially redacted | Not stored |
Store Only Number | Stores the destination numbers 90 days. Does not store the message content. | Set to ‘number_only’ | Yes, for 90 days | Not stored |
Store Only Content | Stores the message content for 7 days. Partially redacts destination numbers. | Set to ‘content_only’ | Partially redacted | Yes, for 7 days |
Illustration
Here's an example message processed under each storage setting option, using the destination number ‘+12025550123’ and the content: 'Hello, your appointment is confirmed for tomorrow at 3 PM.'
Setting option | Processed Destination Number | Processed Message Content |
Store Both Number and Message Content (Default) |
+12025550123 (Stored for 90 days) |
Hello, your appointment is confirmed for tomorrow at 3 PM. (Stored for 7 days) |
Redact Both Number and Message Content | +12025550*** | ***Text Content Redacted*** |
Store Only Number |
+12025550123 (Stored for 90 days) |
***Text Content Redacted*** |
Store Only Content | +12025550*** |
Hello, your appointment is confirmed for tomorrow at 3 PM. (Stored for 7 days) |
Important Note: Redacting the content of messages prevents Plivo from debugging issues or recovering messages if there are any issues. The default value is to store both Number and Message Content, so outbound messages are not redacted unless the log request parameter is explicitly set to false.
Default Settings for Outbound Messages
Our standard policy ensures access to the content of outbound messages for 7 days, while access to numbers is available for 90 days. Post this stipulated time period, the message content and numbers are redacted and stored in compliance with GDPR.
Inbound Messages
The data logging preference for Inbound messages are set at the application level.
Setting the application-level flag log_incoming_messages to ‘false’ enables redaction. When message redaction is enabled for an application, incoming messages associated with the application are redacted. Both the message content and from_number fields are redacted, as demonstrated in the example above.
The default value for the flag log_incoming_messages is set to ‘true’, so inbound message content and from_numbers are stored by default. .
Important Note: If inbound messages are redacted, Plivo cannot debug or recover message content if there are any issues with the callback URL.
Default Settings for Inbound Messages
Our standard policy ensures access to the content of inbound messages for 7 days, while access to numbers is available for 90 days. Post this stipulated time period, the message content and numbers are redacted and stored in compliance with GDPR.
You can read more about data logging preferences in our concepts section here.