Bulk edit Phone site details

I am trying to bulk update all of the phones' site settings in one go as we are migrating to a new outbound call route. Does anyone know if there is a quick and easy way of doing this? The import option only seems to create new phones and does not update existing phone's settings.

1 Like

Hi Anand,

Try PUT Phone

You will need to

  1. Retrieve all of the phones you want to update (e.g to get their phoneIds). GET /api/v2/telephony/providers/edges/phones

  2. Once you have their phone id, you will need to get the phone record (or use the record you pulled back from the get bulk gets) and then change the site->id field using the PUT endpoint above.

We do not have a mechanism to bulk update the phone's site, unfortunately, you must do the above work. Be aware that you need to consider rate-limiting and ensure code can handle 429s. If you have not done so already, I would take a look at the following blog post and developer center article.

Thanks,
John Carnell
Manager, Developer Engagement

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.