question

Usman butt avatar image
Usman butt asked ·

Inbound Caller ID lookup notification

Hello Everyone,

We're looking to develop realtime caller ID look up notification plugin which will display a pop up notification within RepairDesk whenever a store receive a call on their phone number.

I've looked at web hook & notifications documentation however I'm unable to find this info. It would be great if someone can guide us on what API documents to look at.

I appreciate the help.

Best,
Usman

caller id
1 |1000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

I don't know what programming language you are using so just assumed that you are using Node JS. If not, check out other languages under the same category.

First of all, get familiar with Webhook by following the quick start guideline from the link below

https://developers.ringcentral.com/guide/notifications/quick-start/webhook/node

Then, replace the event filter

eventFilters: ['/restapi/v1.0/account/~/extension/~/message-store/instant?type=SMS']

with

eventFilters: ['/restapi/v1.0/account/~/presence/?detailedTelephonyState=true'],

With this event filter, you can get notification for all extensions (users) under the account. If you have a list of users whom you want to monitor, specify a list of event filters instead. E.g.

eventFilters: [
'/restapi/v1.0/account/~/extension/[EXTENSION_ID]/presence/?detailedTelephonyState=true',
'/restapi/v1.0/account/~/extension/[EXTENSION_ID]/presence/?detailedTelephonyState=true',
'/restapi/v1.0/account/~/extension/[EXTENSION_ID]/presence/?detailedTelephonyState=true'],

Remember that you need to login the app with an admin user role.

Share
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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