Yes, with data binding. In the editor, open the “Data” tab and then “Bind”. On the left, you can see the data sources, and on the right, the iLetter. You drag a field onto a text element, and each person sees their own version.
Four sources are available:
Recipient data (“Recipient”). First name, last name, salutation (formal and informal), email, mobile number, language and address of the recipient.
Context data (“Context”). Sender name, sending date, time and delivery language.
Placeholders. Text values that you provide via API for each delivery when sending, for example a claim number. You define a key, label and fallback text and can mark the placeholder as a required field. You insert it into the text using “@”.
Custom REST API endpoint. With “Add endpoint”, you connect an interface from your system. The iLetter queries it live while being completed, for example to retrieve the current status of a case. For authentication, you can choose none, Bearer token, X-API-Key or query parameters and test the connection directly in the dialog. The request contains the case ID, end-to-end ID and user ID provided when sending, as well as the recipient’s ePost participant ID. For confidential iLetters, the user ID and participant ID are not sent.
Under “Preview”, you can check the result using test data. The response JSON is updated live.
There is also a “Letterhead · Return data” section. Fields that you place there are returned only to you and are never visible to the recipient.
You can find information on how to set up the API at the following link:
https://developer.epost.ch/docs/api-docs/41abe050a288b-sending-an-i-letter-via-one-api