SFTP API
Please note that the old Suomi.fi Messages APIs are in maintenance mode, and no new functionalities are produced for them as a rule. All old APIs will be closed on 1 January 2027. This means that all services using Suomi.fi Messages must switch to the new REST interface before 2027.
Your organisation can use the SFTP interface to send materials (files and documents) to end users. The use of the SFTP API always requires a printing contract and enables the distribution of material both in electronic format and as paper mail.
The personal identity codes (SSN) in the control data (XML file) are used to check whether a person is using Suomi.fi Messages:
- <Recipient emailAddress="recipient1@nnn.nn" customerCode="1111" phoneNumber="11111111" SSN="111111-1111">
When the end user is a company, an EDI code (ovtID) is added to the control data (XML file) instead of the personal identity code. The business ID contained in the EDI code is used to check whether the end user is using Suomi.fi Messages:
- <Recipient …ovtID="003712345678"...</Recipient>
Messages can only be sent to Finnish companies (EDI codes beginning with 0037). The EDI code (0037NNNNNNNTBBBBB) and the business ID contained in it (NNNNNNN-T) are validated but the existence of the business ID in the Business Information System is not checked.
If an end user does not use Suomi.fi Messages, official messages are sent as traditional paper mail, as before.
After the SFTP transfer is complete, your organisation’s system receives a technical acknowledgment that the FTP service of the Shared Integration Platform (VIA) has received the file. In order for Suomi.fi Messages to send an acknowledgment that the electronic messages have been delivered, your organisation must have adopted the use of an interface that supports two-way messaging.
