Fix API call with BearerToken