Declaration Download - Pre-generated
This document describes how to use the Substantio REST API endpoint for downloading exported IPC files.
This API downloads already existing files for a particular day (Substantio keeps 7-day history) or from a previous day (if a day parameter is left empty).
If you need exported data unlimited by previous day that are created on demand, use this API.
To use this functionality, the export must first be configured in Company Settings.
API
[http/https]://{servername}:{port}
/sb/api/data/part/exp/get_existing
?accessToken={token}
&[dataForDay={dataForDay
}]
Parameters Overview
1. accessToken Parameter
Token can be found or created by clicking on Settings in Substantio:
2. dataForDay Parameter
Example Request
https://substantio-server.com/sb/api/data/part/exp/get_existing?accessToken=2279e869-647f-41e0-9f4c-66548db539a8&dataForDay=2026-05-18
Explanation
Returns export file created for May 18th. 2026.








