adding the api template