UPS OAuthAuthCode

Number of APIs: 3

Auth-Code flow is for user-to-application authentication. In the UPS API implementation, it is used when your application or software enables other users to transact with UPS. For example, your shipping software would allow a user to use their own UPS.com username and shipper number when obtaining a rate, creating a shipping label, or tracking their package. With this flow, your software can transact on behalf of the user without handling the user’s credentials.

Visit the full UPS Auth-Code Documentation for more details, along with our supplementary Auth-Code Guide.

  1. Authorize Client GET {{base_url}}/security/v1/oauth/authorize?client_id={{client_id}}&redirect_uri=yourRedirectURI&response_type=code

  2. Create Access Token from Auth Code POST {{base_url}}/security/v1/oauth/token

  3. Refresh Token POST {{base_url}}/security/v1/oauth/refresh