added api configuration