How to add your Latvijas Pasts / Express Pasts contract

This article provides step-by-step instructions for linking a “Līgums par pasta pakalpojumiem” contract to Swotzy, including required API keys, IP whitelisting (13.50.209.50), and contract details. Users must provide at least one API key and can then create shipments using their own contract rates.

 

Before you start

Before linking your contract, please make sure:

The contract you intend to use is “Līgums par pasta pakalpojumiem”.

You will also need:

  • API key for Latvijas Pasts (Regular Key)
  • API key for Express Pasts (Express Key)

⚠️ Important:

  • API keys for Latvijas Pasts and Express Pasts are different.
  • Do not confuse them with Mans Pasts API keys — that is a separate integration.
  • You must use API keys available in the Express Pasts portal:
    https://express.pasts.lv/

A €0.12 fee per shipped parcel applies to all shipments sent with your own carrier contract.

IP Whitelisting Requirement

To successfully link your contract, you must whitelist Swotzy’s server IP address in your Express Pasts portal (express.pasts.lv → API informācija).

The IP address that must be whitelisted is:

13.50.209.50

Without IP whitelisting, the integration will not work.

Request your details from Latvijas Pasts

If you don't have your API keys or need help with IP whitelisting, send this email to your Latvijas Pasts account manager. Replace the text in square brackets with your own details.

Subject: API keys for linking our contract to Swotzy

Hello [Account manager's name],

We want to link our Latvijas Pasts / Express Pasts contract to the Swotzy shipping platform. To do this, we need the API keys for the services we use:

  • Regular Key (Latvijas Pasts API key)
  • Express Key (Express Pasts API key)

Please also confirm whether API access is enabled for our contract, and help us add the IP address 13.50.209.50 to the whitelisted IP addresses in express.pasts.lv.

Company name: [Company name]

Thank you,
[Your name]
[Company name]

Step 1: Log in to your Swotzy dashboard

Log in to your account at app.swotzy.com using your Swotzy credentials.

Step 2: Open “Link Own Contract”

  1. In the left-hand menu, click Link Own Contract.
  2. You will be taken to the Carrier Contracts section.

Here you can view your existing carrier contracts and add new ones.

Step 3: Select Latvijas Pasts

In the Link your own contract section:

  1. Open the carrier dropdown menu.
  2. Select Latvijas Pasts / Express Pasts.

The contract form will appear automatically.

Step 4: Enter contract details

Fill in the following fields:

  • Contract Name – for example, My Latvijas Pasts Contract
  • Regular Key – your Latvijas Pasts API key
  • Express Key – your Express Pasts API key

Both keys are optional individually, but at least one must be provided depending on which services you use.

Step 5: Submit and confirm

Click Submit to link your contract.

If the credentials are correct and the IP address has been properly whitelisted, your contract will appear under Your Carrier Contracts.

Step 6: Create shipments using your contract

  1. Click Create Shipment.
  2. Choose a Latvijas Pasts or Express Pasts shipping service.

Services will be shown as “Per your contract”, meaning your own contract rates are applied.

Need assistance?

We’re always here to help 😊

If you’re unsure which credentials to request or need help linking your Latvijas Pasts / Express Pasts contract, contact our technical support team at support@swotzy.com

Add comment

Please sign in to leave a comment.