Skip to main content
Question

API to add a custom rule to a specific site

  • December 12, 2024
  • 7 replies
  • 28 views

Forum|alt.badge.img

Not sure if im just missing it but is there a way via API to add a company number for a SPECFICI Site.

We are a multi site environment and we need to abaility to quickly add Holidays at a site basis.

Doing this at a queue level is not acceptable as when its out of hours it counts the call as abandoned and skews any metrics…

I can add one as a company number but this adds it under the main site.. 

7 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2312 replies
  • December 12, 2024

I don’t fully understand your question nor your use case.

But you can try this API to assign/reassign a phone number to a site.


Forum|alt.badge.img
  • Author
  • Inspiring
  • 9 replies
  • December 12, 2024

Hi Phong,
Apologies i should explain better,

I need the ability to quickly add and edit call handling rules for a site. It can be done as a company but i can't figure out if it's possible to select the site itself. 


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2312 replies
  • December 12, 2024

You can read site call handling rules using this API. Read the sites and use the site id of a site as the [extensionId].

Then call update call handling API to change/edit.


Forum|alt.badge.img
  • Author
  • Inspiring
  • 9 replies
  • December 12, 2024

Yes but that requires one to be added to each site, my assumption is we cannot add one? 


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2312 replies
  • December 13, 2024
robbo wrote:

Yes but that requires one to be added to each site, my assumption is we cannot add one? 

So confusing. Here is what you asked “I need the ability to quickly add and edit call handling rules for a site.” and now you said “one to be added to each site” ???


Forum|alt.badge.img
  • Author
  • Inspiring
  • 9 replies
  • December 13, 2024

“I need the ability to quickly add
Editing rules I understand can be done but adding a new one for a specific site?

Not sure what's confusing? It doesn't matter if it's one or Mutiple, id still need to run a separate API call for each rule ID


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2312 replies
  • December 13, 2024
robbo wrote:

“I need the ability to quickly add
Editing rules I understand can be done but adding a new one for a specific site?

Not sure what's confusing? It doesn't matter if it's one or Mutiple, id still need to run a separate API call for each rule ID

There are many APIs under the Call Handling Rules section. Next to the Update API is the List, Create, Delete etc. 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings