News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Glip notification not invoking webhook for Teams files
Tags: ringcentral app, webhooks, notifications
Feb 4, 2022 at 9:34am   •   2 replies  •  0 likes
Andrew Prokop

I wrote an application that subscribes to /restapi/v1.0/glip/posts. My webhook is invoked when new chat messages, tasks, and events are posted to a Team, but not when a file is added. Is there something else I should subscribe to for files?

Update: If I attach a file to an Event, I am not notified of the new Event. Remove the file from the Event and I receive the notification.

2 Answers
answered on Feb 9, 2022 at 11:21am  

Thank you, Phong. I seem to be running into all sorts of Sandbox deficiencies. I will see what it takes to move to our production instance, but I had really hoped to wait until I knew my code was completely tested.


 0
answered on Feb 9, 2022 at 8:12am  

Sorry for the delayed response Andrew. I guess that you are testing this in the sandbox environment. Currently, there is problem with posting attachments to a sandbox team messaging. That is why you won't receive a notification event. This should work on production and here is an example of the event payload.

{"id":"3564165923xxxx","groupId":"8544346xxxx","type":"TextMessage","text":"","creatorId":"62288329016","addedPersonIds":null,"creationTime":"2022-02-09T16:07:30.886Z","lastModifiedTime":"2022-02-09T16:07:30.886Z","attachments":[{"id":"1594796859402","name":"hubspot-sproket.png","contentUri":"https://dl.mvp.ringcentral.com/file/159479685xxxx","type":"File"}],"activity":null,"title":null,"iconUri":null,"iconEmoji":null,"mentions":null,"eventType":"PostAdded"}

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us