api setting