add protocol to apiCall