Fix for exit_code vs state rename issue
Added the api setting to the default backend config