Add single response method for API responses.