add an API to the project