API client template