Client communicating with API