Make api confiruation parameter consistent for all functions