cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting an OAuth token for non-interactive process

I hope this is the right place for a question 🙂

I'm a seller, and use some of the APIs to pull data - usually, I get my token from the API explorer and paste it into my program to use... but, I want to set up a program to pull shipping tracking numbers for our orders.  It will be non-interactive... is there an API to authenticate to that returns a token? - or any way to get a token that does not require interaction by a user to log in?

 

Thanks!

Message 1 of 2
latest reply
1 REPLY 1

Getting an OAuth token for non-interactive process

Hi @parrishtirecompany,

 

User access token minted with the authorization code grant request, remains valid for 7,200 seconds (2 hours) from the time it was generated. After the token expires, you will need to renew it using the supplied refresh token.

 

While User access tokens are short-lived, the associated refresh_token is a long-lived value that you can use to update an expired User access token. This means you do not have to get the user's consent each time you need a new User access token.

 

To update the access token after it expires, see Using a refresh token to update a User access token.

Best Regards,
eBay Developer Support
Message 2 of 2
latest reply