Use a Token

Use a Token

Every authenticated API call requires an Access Token to be passed in the Authorization header as a Bearer Token or it will return a 401 Unautorized HTTP status.

curl https://api.box.com/2.0/users/me \
    -H "Authorization: Bearer EGmDmRVfhfHsqesn5yVYHAqUkD0dyDfk"

Use the GET /users/me endpoint to inspect what user an Access Token is authenticated for.