try to add an API to project