Canonicity is a useful property satisfied by some type theories, saying that every element of natural number type is propositional equal to an element of the form $s^n(0)$, where $s$ is the successor operation. For certain type theories, this can be proven by gluing techniques, as done by Lambek and Scott. The categorical translation of canonicity then becomes that every arrow $1\to \mathbb{N}$, where $\mathbb{N}$ is the natural numbers object, is of the form $S^n(0)$. These gluing arguments use certain syntactic topoi of the relevant type theory.
I was wondering if there are categorical results on canonicity in categories. That is, if there are necessary or sufficient properties a category $\mathcal{C}$ with a natural numbers object $\mathbb{N}$ should have in order to enjoy canonicity. Or, does anyone have an insightful counterexample why not every natural numbers object satisfies canonicity?
Thanks!
Edit: I am not necessarily looking out for a 'canonicity' in the type theoretic, constructivistic sense. I'll also be very happy with natural number objects satisfying that every map $1\to \mathbb{N}$ is of the forn $s^n(0)$, not necessarily in the canonicity sense. I don't really know the terminology for this.