question

sattar k avatar image
sattar k asked Phong Vu commented

getting error in custom greeting API

Hi,

We need to create the custom greeting for our company account.

We are using the https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/extension/extensionId/answering-rule API for the answering rule ID we are getting 11 records in the response.

RESPONSE - 1701365423257.png

After that we are hitting the https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/greeting API and getting the error -

1701365616117.png

1701365513093.png

so can you please suggest the exact answering rule ID that we can use in custom greeting API.


custom greeting
1701365423257.png (20.3 KiB)
1701365513093.png (9.7 KiB)
1701365616117.png (31.9 KiB)
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

You cannot create a company greeting using an extension custom answering rule.

Instead, you can use the extension custom answering rule id to create a custom user greeting

If you really need to create a company greeting, use the "business-hours-rule" to set the answeringRule.id

2 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

sattar k avatar image sattar k commented ·

Can you please suggest that which answering rule API we can use for creating company greeting.

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ sattar k commented ·

Isn't that obvious? Create company handling rule.

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys