How to get user ID in the new API with only user auth token?

If you don’t specify any id or login to lookup, it will return the user who the token in your authorization header belongs to. Keep in mind it does not work with app access tokens as they do not belong to any user.