This guide explains the available file formats for YakChat Message Archiving and how to configure automated file transfers to Azure or AWS cloud storage.
Two file formats are available for message archiving via file transfer:
The Message Log CSV includes the following fields:
| Header | Type | Description | Possible Values |
|---|---|---|---|
| TimeStamp | DateTime | UTC timestamp of when the message was sent or received | YYYYDDTHH:MM:SSSSSSSSZ |
| To | string | Recipient phone number (E.164 format) | |
| From | string | Sender phone number (E.164 format) | |
| Direction | string | Message direction | In, Out |
| Segments | integer | Number of text segments | |
| Price | decimal | Total cost of the message | |
| Status | string | Current delivery status | Sent, Delivered |
| RoomId | integer | Unique conversation identifier | |
| RoomCreator | string | Deprecated field (retained for compatibility) | |
| InboxId | integer | Unique inbox identifier | |
| SubscriptionId | integer | YakChat subscription identifier | |
| CompanyId | integer | Company identifier | |
| MessageId | integer | Unique message identifier |
This format includes all Message Log fields, plus additional fields for message content:
| Header | Type | Description | Possible Values |
|---|---|---|---|
| Text | string | Message body text | |
| Media | string | Relative file location of attached media |
Archiving to Microsoft Azure Storage
Configure YakChat to automatically upload archive files to Azure Blob Storage by following the official setup guide:
Archiving to Microsoft Azure Storage – Using Service Principal
Archiving to Amazon Web Services (AWS) S3
To upload archive files to AWS S3, follow this guide: