api menu command