added api call to intent service