implementation of GetResponse API