Add method to api to create anvil menu