Sign in

Register phone number

documented

Register 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 runs
No 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}}"}'