Suomi.fi for Service Developers
Go directly to contents.

WS 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.

Web Service (WS) is the most versatile of the old APIs. It supports both two-way messages and the paper mail option.

The WS API is split into the mandatory Official Services API and the voluntary Return Channel API. Your organisation can use the Official Services API to send messages and attachments to end users. The Return Channel enables Suomi.fi Messages to send message statuses to your organisation’s system as well as messages sent by end users.

The descriptions of the Official Services and Return Channel APIs are below. Please note that the message structure of the APIs follows the structure designed for the citizen's e-services account already in 2010. A few changes and additions have been made to the interface, but its interoperability with client organisations’ systems that use the old interface has been maintained. As a result, the message structure contains some old terminology associated with the e-services account.

The messages use UTF-8 encoding and their format is text/xml.

The details of taking the WS API into use are provided in the last expandable section.


Updated: 13/3/2025

Are you satisfied with the content on this page?