api managing