api settings