api adding