Adding convert api call