Does Plivo offer a dedicated number pool for number masking?

Currently, we don't provide a dedicated number pool specifically for number masking. However, you can allocate numbers to a subaccount and create sessions by specifying the subaccount auth details. This ensures that virtual number allocation is aligned with the subaccount used in the session. Plivo will exclusively access and use the numbers associated with the specified subaccount. 

cURL

curl -X POST "https://api.plivo.com/v1/Account/{Auth ID}/Masking/Session" \
-H "Content-Type: application/json" \
-d '{
  "first_party": "+919003459XXX",
  "second_party": "+919840037XXX",
  "is_pin_authentication_required": true,
  "first_party_pin": 1234,
  "second_party_pin": 4321,
  "pin_prompt_play": "https://play.s3.eu-north-1.amazonaws.com/pin_prompt.wav",
  "geomatch": true,
  "subaccount": "SAOWRKMGU3YZCTZJXXX",
  "incorrect_pin_play": "https://play.s3.eu-north-1.amazonaws.com/incorrect_pin.wav"
}

The above request will create a number masking session with the virtual number that belongs to the subaccount auth ’SAOWRKMGU3YZCTZJXXX’.

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket