Logging in to the Extensiv API
This article explains the straightforward process of Logging in to the Extensiv API.
To login to the API,
Step 1: Obtain Your API Credentials
Before you can log in, you need to have your API credentials. These include your Client ID and Client Secret. If you don't have these credentials, please contact your Extensiv representative or Customer Success Manager.
Step 2: Encode Your Credentials
To use the Extensiv API, you need to encode your Client ID and Client Secret by using a Base64 encoder tool. Here's how:
- Navigate to a Base64 encoder tool, such as An external link was removed to protect your privacy.
- Enter your Client ID followed by a colon and your Client Secret (e.g., ClientID:ClientSecret).
- Encode the string to get your authorization key.
Step 3: Request an Access Token
With your encoded credentials, you can now request an access token. This token is required for authentication when making API requests. Here's an example of how to do this:
HTTP Header
GET https://api-hub.extensiv.com/auth/token/token?extensivid=ex0000
Content-Type: application/json; charset=utf-8
Accept: application/json
Authorization: Basic <your_encoded_credentials>
Query Parameters (One of these path parameters is required)
orgkey  Â
string
extensivid  Â
string
tplguid  Â
string
warehousemanagercustomerid  Â
string
integrationmanageraccountid  Â
string
ordermanagercompanyid
string
The token generated from this action will expire after 8 hours. It is highly recommended you cache this token and only generate a new one after the previous one expires.
Â
Step 4: Use the Access Token
Once you receive your access token, include it in the HTTP header of your API requests. Note that the access token is only valid temporarily (8 hours), so you will need to refresh it periodically.
Example of Using the Access Token:
GET https://api-hub.extensiv.com/orgs/{orgkey}
Authorization: Bearer <your_access_token>
Â
Troubleshooting
If you encounter any issues, please refer to the Extensiv Help Center or contact your Customer Success Manager for assistance. You can also visit the Extensiv Community for support from other developers.