Get Bearer Token
POST/1.0/TokenV2
To use the shipping API, you must send a JWT bearer token as a header in every request. To get this token, you need to call the TokenV2 endpoint with your username and password
This Endpoint will give you an Access Token, Refresh Token and expiry time when you supply a username & password.
The Access Token is the bearer token required to authenticate against all other endpoints,
The Expiry time will tell you how long your Access Token is valid for. At the time of writing this is 4 hours.
The Refresh Token can be used to generate a new access token. This token will expire if it isnt used for 30 days.
To authenticate your requests first get a token as above. Then add the header Authorization: bearer tokengoeshere to the HTTP headers of your request (where tokengoeshere is the token you got in the previous section).
Request
Responses
- 200
Get Bearer Token