Register phone number
documentedRegister a phone number for use with the Cloud API and enable 2FA (PIN) for access.
POST /v{version}/{phone-number-id}/registerPhone Numbersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://graph.facebook.com/{{$version}}/{{$phone_number_id}}/register" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"messaging_product": "whatsapp", "pin": "{{$pin}}", "data_localization_region": "{{$region}}"}'