add recordresponse endpoint