Banyan Technology LIVE Connect™
  1. Version 3
Banyan Technology LIVE Connect™
  • Version 3
    • Authentication
      • Retrieve a token
    • Shipments
      • Creating
        • Create a Full Shipment
        • Create an EZ Rate Shipment
      • Updating
        • Add Document(s) to a Shipment
        • Update a Shipment
        • Adds one or more Reference Numbers to a Shipment
        • Mark as Exported
      • Retrieving
        • Get a Shipment
        • Get multiple Shipments
        • Get Quotes
        • Get Reference Numbers for a Shipment
        • Get documents for the specified shipment.
      • Booking
        • Book a Shipment
        • Unbooks the awarded quote on the specified load.
      • Canceling
        • Cancels a shipment.
    • Invoice
      • Get multiple invoices
      • Mark as Exported
    • Tracking
      • Get tracking statuses
      • Mark as exported.
    • StaticData
      • Accessorials
      • Document Types
      • Equipment Types
      • Package Types
      • Limited Access Types
      • Size UOMs
      • Weight UOMs
      • Pay Types
      • Ship Types
      • Countries
      • Statuses
      • Service Modes
  • Version 2
    • Recommended Workflow
      • Rating
        • ImportForQuote
        • ImportForQuote_Sync
        • GetQuotes
      • Booking/Dispatching
        • BookLoad
      • Tracking
        • GetTrackingStatuses
      • Documents
        • GetDocuments
      • Invoices
        • GetInvoices
        • GetInvoicesWithLoadDetails
    • Additional Offerings
      • Cancelling
        • Cancel a Load
      • Updating
        • UpdateLoad
        • UpdateLoadStatus
        • UpdateShipmentsExport
      • Importing
        • PendingImport
        • ImportForBook
      • Manual Quotes
        • AddManualQuote
      • EZ Rates
        • EzRate
        • EzRate_Sync
      • Waterfall Tendering
        • StartWaterfallTendering
        • CancelWaterfallTendering
      • Unbooking
        • UnBookLoad
      • Additional Dispatching
        • DispatchLoad
      • Load Details
        • GetLoadDetails
        • GetNotes
      • Additional Tracking
        • GetTrackingByLoad
      • Other
        • Normalized Charge Codes
      • SOAP
    • Changelog
  • Exports and Webhooks
    • Standard Load Export - v1
    • Standard Load Export - v2
    • Standard Load Export - v3
    • Push Tracking
  1. Version 3

Authentication

Requests sent to version 3 of our web services are secured using a Json Web Tokens (JWT). Please contact your Account Manager to obtain your client credentials.

How to obtain a JWT Token#

JWT tokens are obtained by sending a request to the /auth/connect/token endpoint passing it the client id and client secret in the request body. For example:
Your client id and secret should be URL Encoded
If authenticated successfully, an object is returned in the response with the property access_token being the JWT token.
{
    "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI...",
    "token_type": "Bearer",
    "expires_in": 3599,
    "scope": "shipments.view"
}

How to use the JWT Token#

The JWT token can be used for Bearer Authentication. It's passed in the
Authorization header as the following:

Client Ref Number#

In version 2 of our web services, a ClientRefNum value was passed in the AuthenticationData object in the request body.
To use this same functionality in version 3, you can simply pass the same value in your token request. For example:
This will associate the returned access_token to the specified client and any actions in the system will be associated to that client.

OAuth 2.0#

You can learn more about the OAuth 2.0 Client Credentials Grant by going to tools.ietf.org/html/rfc6749#section-4.4
Previous
Version 3
Next
Retrieve a token
Built with