Through a Twilio account, I purchase a number and add it to WABA by CLOUD API as follows:
curl --location 'https://graph.facebook.com/WABA_ID/phone_numbers' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer EAA.....' \
--data '{
"cc": "44",
"phone_number": "77...",
"verified_name": "verified_name"
}'
Adding numbers that I have had in the Twilio console for a long time works, but numbers I recently purchased do not:
{
"error": {
"message": "(#200) Permissions error",
"type": "OAuthException",
"code": 200
}
}
Adding one of the new numbers through the WA console worked, then I deleted it and then I could add it through this API.
What is the problem and how can it be fixed?