Getting access tokens through the UI

When you navigate to get your OAuth credentials, you can quickly generate a short-lived Application access token or User
Access token through the user interface.

Subtopics

Getting Application access tokens via the UI

To get an Application access token:

  1. Navigate to your OAuth credentials page on the eBay Developers Program website.
  2. Next to the App ID listing of the environment you want to generate a token for, click the User Tokens link.
  3. On the resulting page, click the Get OAuth Application Token link, an example of which is highlighted in the following screen:

Getting an App token through the UI
Getting an Application token through the Web flow

You can use this Application token to make requests to the APIs in the environment for which the token was generated. You can even copy the returned access token for use in the API Explorer.

Getting User access tokens via the UI

You can also generate a User access tokens through the user interface, and like the UI-generated Application access tokens, you can use these User access tokens to make requests to the Sandbox environment using the API Explorer.

To generated a User access token through the UI for using in the Sandbox:

  1. Navigate to your OAuth credentials page on the eBay Developers Program website.
  2. Next to the Sandbox App ID listing, click the User Tokens link.
  3. In the Get a User Token Here tab, tick the OAuth (new security) radio button, then click the Sign in to Sandbox for OAuth button.
  4. Sign into Sandbox using the test account associated with your eBay Developers Program account.
    The Grant Application Access page is displayed for your app.
  5. Click the Agree button.
    eBay redirects you to your Accepted URL page you configured for your app, and the User access token is returned as a query parameter.

You can use this short-lived User token to make requests to the APIs in the environment for which the token was generated. You can even copy the returned access token for use in the API Explorer. However, because the User access token is short lived, you will likely want to programmatically generated your User tokens, including using the Refresh token to updated your User tokens after they expire.