Ayari held several diplomatic responsibilities, such as economic advisor to the Tunisian delegation at the United Nations in New York City from 1960 to 1964. He was also Ambassador to the European Commission, Belgium, and Luxembourg in 1972.[12] He was Chairman of the Commission for Industrial Development at the UN in 1962 and of the Arab Bank for Economic Development in Africa from 1963 to 1964, Executive Director of the World Bank from 1964 to 1965, and a member of the advisory board for the African Development Bank.[13]