How do you set up the authentication for using the ParcelParcel API?

Please follow the steps below to acquire your API credentials.

How do I find my API Key and API secret?

In order to start using our API, you will need some API credentials. You can find your personal API key and API Secret in your MyParcelParcel account. Don't have an account? Create your account here.

You can follow the steps below if you already have a MyParcelParcel account:

  1. Log in to your MyParcelParcel account through this link.

  1. Go to My Settings

  1. Click on API settings

  1. Here, you can view your API Key and API Secret which we need to add to the header of our API request.

Where do I put my API credentials in the request?

We need to copy the API Key and API Secret and put them into the header of our request.

Add the following key and value in your header:

NameValue
X-PP-APIapi-key@api-secret

So it could look something like this:

NameValue
X-PP-APInube0b:1pdahsptd10kw848cccgkckogcgss0@0gw0ssw4-g4ks00ko-48w0sosc-cckw

Test your authentication

A good way to test if your authentication is working properly is to use our πŸ“¦ Create a draft shipment - or 🚚 Compare shipping options endpoint.