The operator convex functions of several variables are characterized in terms of a non-cummutative generalization of Jensen's inequality, extending previous results of F. Hansen and G.K. Pedersen for functions of one variable and of F. Hansen for functions of two variables.