integrating API