Create extension method to make api response
Update docstring for `make_api_response` method