Authentication

Generate token

This endpoint can be used to generate a bearer token for use as the authentication for all other v2.0 endpoints.

post/v2.0/auth/token

Request

  • Base URL: https://api.freightview.dev
  • URL: https://api.freightview.dev/v2.0/auth/token
  • Auth: none required

Request body

client_idstring required

The client id to use when generating the access token.

client_secretstring required

The client secret to use when generating the access token.

grant_type'client_credentials' required

The grant type to use when generating access token.

Response

Success

access_tokenstring

The access token that should be used as the bearer token on all subsequent API calls.

expires_innumber

The amount of time the token is valid. Will always be 86400 seconds (24 hours).

scopestring

The access token scope.

token_type'Bearer'

The type of token generated. Will always be Bearer.

Changes

No recorded changes to this operation across all 1 revision of this API.