Authorization

Create an Access Token

Retrieve an OAuth 2 Access Token.

The endpoint is part of OAuth 2.0 Authorization Code flow.

Refresh tokens are for one-time use only. A new refresh token is always issued with a new access token.

post/oauth2/token

Request

  • Base URL
    https://api.easyship.com
  • URL
    https://api.easyship.com/oauth2/token
  • Auth
    none declared

Request body

OR
OR

Response

Access Token (Refresh Token)

access_tokenstring

OAuth 2 Access Token

token_type'Bearer'

OAuth 2 Token Type

expires_ininteger

OAuth 2 Access Token Expiration Time in Seconds

scopeScope (unresolved $ref)
created_atinteger

OAuth 2 Access Token Creation Time

refresh_tokenstring nullable

OAuth 2 Refresh Token. Available only for Authorization Code Grant Type.

Changes

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