When using SMS through Integrations, you can export text history for each SMS number.
To export text history, navigate to an organisation, then click "Integrations" and "Manage numbers" on the enabled SMS integration. Open the SMS number menu for the desired number and select "Export".
In the export dialogs settings, select your desired date range and export format, either CSV or JSON.
If the dialogs for the chosen date range exist, click "Export dialogues" to save them to your disk in the selected format.
Export Format
You can export dialogs either in the CSV or JSON format. The dialogs have the following fields:
JSON
[
{
"name": "4705321002 (+13477163001)",
"parties": [
"1001",
"4705321002"
],
"messages": [
{
"from": "1001",
"time": "Jun 12, 2026, 12:52 PM",
"type": 1,
"content": "@1002 hello"
},
{
"from": "4705321002",
"time": "Jun 8, 2026, 3:08 PM",
"type": 1,
"content": "Hello!"
},
{
"from": "1001",
"time": "Jun 11, 2026, 7:53 PM",
"type": 2,
"content": "17783649968877847121-IMG_3021.jpeg"
}
],
"id": "1780215119747-4b9cab507536fbaab6"
}
]
Note:
The message "type" parameter can have the following values:
1 - text message
2 - file
CSV
Dialog | Time | Number | From | Content | Parties | Type | ID |
4705321002 (+13477163001) | Jun 12, 2026, 12:52 PM | 13477163001 | 1001 | @1002 hello | 1001;4705321002 | message | 1780215119747-4b9cab507536fbaab6 |
4705321002 (+13477163001) | Jun 8, 2026, 3:08 PM | 13477163001 | 4705321002 | Hello! | 1001;4705321002 | message | 1780215119747-4b9cab507536fbaab6 |
+17172718189 (+13477163001) | Jun 25, 2026, 7:28 PM | 13477163001 | 1001 | test | +17172718189;1001;7172718189 | message | 1782405740140-a0d9ed0a238978f7f5 |


