Added forgotten api.h file