Adds API to insert with api keys