API integration and automation