noteDepending on the path you choose for integration, there is a different set of instructions. Refer to our integration paths for more details.
Generate a JWT for an eCommerce store
If you have an eCommerce store that you want to add shipping to, you can generate a JWT using your own Shippo API key. Follow this example that uses theembedded/authz/ endpoint to create a JWT.
JWT for eCommerce merchant request
JWT for eCommerce merchant response
token is the JWT and expires_in is a unix timestamp representing when the token expires.
Generate a JWT for a white label integration
If you have not already, review our guide on Shippo Platform accounts. You must have a Platforms account to create and use Managed Shippo Accounts. If you do not know your customer’s Shippo Account ID, refer to this guide to retrieve your user’s Shippo Account ID. To generate a JWT for a Managed account, call theembedded/authz/ endpoint and set the object_id of your customers Shippo Account ID to the SHIPPO-ACCOUNT-ID in the header of the call.
JWT for white label request
JWT for white label response
token is the JWT and expires_in is a unix timestamp representing when the token expires.
Generate a JWT for a gray label integration
If you have not already, follow the steps in our guide to request your OAuth key and get access to a Bearer Token. There are 2 ways you can generate your own JWT for gray label integration.1. Direct Authorization API
JWT for gray label request
JWT for gray label response
token is the JWT and expires_in is a unix timestamp representing when the token expires.
2. User Server Side Remote Procedure Call to generate JWT
Response
token is the JWT and expires_in is a unix timestamp representing when the token expires.
Use your JWT
JWT works the same as an API token. To test your generated JWT, call the list all carrier parcel templates endpoint. Remember to replace<JWT_TOKEN> with the token you have generated.
Use JWT request
Use JWT response