extend api with response.