Authentication

Best Practises

Intersoft SAPIENT API uses OAuth2 authentication.

Before you can use the API and generate the Bearer Token, you need to create your API Credentials.

👍

The API credentials are unique for each customer. Keep these credentials safe as they cannot be viewed after being generated. If you lose these credentials you will have to generate new ones.

API credentials are used to generate an access token JWT (JSON Web Token) or bearer token. Please see the “Bearer Token Generation” guide on how to generate the token for the “Try It”.

The token expires after 60 minutes. You will need to request a new access token to continue making API calls. Please ensure you cache the authentication token before requesting a new one.

Please be aware when using the “Try It” function that you are in a production environment and any Shipping Accounts that you create or use for testing should have the account type set to “Sandbox”.