- Shippo Account: You will need a functional Shippo account to access the API. If you do not have a Shippo account yet, you can sign up for one at https://goshippo.com/register.
- API Key: You will also need an API key to authenticate your requests to the API. Complete the steps in Getting an API key to get your API key.
Getting an API Key
To use Shippo’s API, you will need to authenticate your requests with an API key. Here are the steps to obtain an API key:- Log in to the Shippo API portal at https://portal.goshippo.com/api-config/api using your Shippo credentials.
- In Developer keys under API configuration, click Create new live key for a live key or click Create new test key for a test key.
- Once you have create an API key, copy it to your clipboard, as it will not be shown again.
-
You can now use the API key to authenticate your requests to Shippo’s API by including it in the
Authorizationheader of your HTTP requests. For example, if your API key isshippo_test_token, yourAuthorizationheader should look like this:Authorization: ShippoToken shippo_test_token