This article explains how to enable page numbering while page creation through REST API.
\uD83D\uDCD8 Instructions
Add the below payload in REST Call.
"metadata": { "properties": { "nl_avisi_nh": { "key": "nl_avisi_nh", "value": { "isEnabled": true } } } }