API started working