Change API to long id.