Pakkelabels.dk RESTful API

Følgende side er på engelsk, for at give mulighed for at alle programmører (uanset sprog), kan integrere op imod vores system.

Pakkelabels.dk RESTful API is currently on v3.

Further information and documentation can be found here: https://api.pakkelabels.dk.

 

Getting started with the API – obtaining API access

Getting started with our RESTful API is easy. You’ll need an user at Pakkelabels.dk, as well as an API username and an API key.

A free user can be created here, and once the user is created and you’re logged in, the API username/key can be generated from the user settings (Indstillinger > API) page.

0

 

Authentication

You need to use HTTP Basic Authentication in order to make requests to the API.

The generated API User and API Key must be included in every calls to the API.
For example, if you have Aladdin as the username and OpenSesame as the password, then the field’s value is the base64-encoding of Aladdin:OpenSesame, or QWxhZGRpbjpPcGVuU2VzYW1l. Then the Authorization header will appear as:

Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

The complete technical documentation including all API methods can be found here: https://api.pakkelabels.dk/.

 

Printing of shipping labels

For choosing of printer to output your labels from the API you need to install Pakkelabels.dk’s Printklient. You can find the installation guide here: https://www.pakkelabels.dk/funktioner/automatisk-udskrivning/.

 

Older API

We recommend new implementations should be based on API v3. The older API V2 is still being supported but no longer extended.

If you are looking for our API v2, you can visit the following:

Documentation: https://api.pakkelabels.dk/v2/
Getting Started: https://www.pakkelabels.dk/integration/api-v2/