All requests to our API need to send an API key to authenticate your requests. This article will help you obtain the credentials for both a test environment so you can safely test your changes as well as how to obtain production credentials.
Test environment
We offer a test environment for testing out an integration, or just playing around with our API. To get started, first sign up to a test account at test-app.packfleet.com/signup
Once you've verified your email address, you can log in to your account from the same test-app URL.
Generating a test API key
Press π€ in the bottom left of the Packfleet dashboard, then select
Apps
in the settings SidebarGo to Integrations
Press Connect a new integration
Search for Packfleet API and press Connect
When prompted press Create an API key
A popup will appear with your new API key. Make sure you save this value now as it will not be shown again! If you lose it, just create another key.
Now that you have your API key you can make requests to the test environment found at
https://test-api.packfleet.com/
Production environment
The steps to use Packfleet for real shipments is largely identical to the test environment! First, make sure you have a Packfleet merchant account. You can book a demo with us or sign up directly at packfleet.com.
Generating a production API key
Log into your production account here
Follow the same steps as generating a test API key (Steps 1-4 above)
You can now make requests to
https://api.packfleet.com
using the API key you generated