add api command