Obtain access token

Exchange client credentials for an access token.

The returned token includes scopes that determine API access:

  • shipper scope grants access to /v1/shipper/** endpoints
  • carrier scope grants access to /v1/carrier/** endpoints
  • Partners with both scopes can access both APIs with a single token

The returned token should be included in subsequent API requests as a Bearer token in the authorization header: authorization: Bearer {access_token}

Tokens are valid for the duration specified in expires_in (seconds). We recommend caching tokens and refreshing them before expiration.

Body Params
string
required

Client ID provided by Oway

string
required

Client secret provided by Oway

Responses

Language
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json