Welcome to the new Box Support website. Check out all the details here on what’s changed.

Is there a method to verify accesstoken?

Answered
New post

Comments

3 comments

  • Official comment
    Alex Novotny

    Hello, 

    I'm a bit confused by your question.... what do you mean by verify the correctness of the token? Do you mean if the token works? Calling any of the API endpoints with the token should let you see if the token works... You could also refresh the token with the first access token's refresh token. 

    Thanks, 

    Alex, Box Developer Advocate

    Comment actions Permalink
  • guo gm2176qaz

    Thank you for your reply.

    >Do you mean if the token works?
    yes.

    >Calling any of the API endpoints with the token should let you see if the token works... You could also refresh the token with the first access token's refresh token
    ok.

    but,I want to confirm whether the box has an API to verify whether the token can be used?
    Because we developed Google projects before,
    Google has an API to verify whether a token is used:‘ https://www.googleapis.com/oauth2/v3/tokeninfo?access_token= ’,
    so I want to confirm whether the API of box has an API to verify whether the token can be used?

    0
    Comment actions Permalink
  • Alex Novotny

    Unfortunately, we don't have an endpoint that does this today. 

    Alex

    0
    Comment actions Permalink

Please sign in to leave a comment.