format the api name