I'm in process of registering phone number to be used with Whatsapp API, when I try to generate access token for my phone number, I'm greeted with this alert.
There was a problem registering (my phone number). Unsupported post request. Object with ID '(phone_number_id)' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api
There also this message that tells me the phone number needs to be registered.

When I attempt to follow the link, it brings me to this page, it has instruction to follow and "certificate".

The these instruction link lead to documentation on how to register the phone number, however the top of documentation clearly state that this instruction no longer valid as of now because it is using on premise API. So I tried to find the one valid for cloud API, I found this documentation → https://developers.facebook.com/docs/whatsapp/cloud-api/reference/registration/
The documentation offers a way to register the phone number through API, below is the snippets I copied from the documentation.
curl 'https://graph.facebook.com/v21.0/106540352242922/register ' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer EAAJB...' \ -d ' { "messaging_product": "whatsapp", "pin": "212834" }
The question is how do I get phone number ID if my phone number is not "registered" to begin with ? I tried to retrieve the phone number ID by following the link here → https://developers.facebook.com/docs/whatsapp/business-management-api/manage-phone-numbers#get-all-phone-numbers, but it only list the test phone number, my phone number does not appear.
{ "data": [ { "verified_name": "Test Number", "code_verification_status": "NOT_VERIFIED", "display_phone_number": "+1 555-131-8955", "quality_rating": "GREEN", "platform_type": "CLOUD_API", "throughput": { "level": "STANDARD" }, "id": "375420581369195" } ], "paging": { "cursors": { "before": "xxxx", "after": "xxxx" } } }