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
Can i send a new message to a GLIP chat via API
Tags: rest api
Mar 15, 2021 at 7:41am   •   1 replies  •  0 likes
Juan Zapata

Hello:

I am new at this.
I want to know if i can send a new message to a GLIP chat via API.
Thanks for you help.

1 Answer
answered on Mar 15, 2021 at 8:38am  

 0
on Mar 28, 2022 at 9:46am   •  0 likes

I have a question about this, @Phong Vu. What is the API call that I use to create a chat with someone when the conversation is not found with listGlipChats? I need an id for createGlipPost and don't see how to create a new one. Thanks.

Update: Is it Create/Open Conversation? I was looking in the chats and posts sections and nothing popped out at me.

on Mar 28, 2022 at 9:41pm   •  1 likes

Hi @Andrew Prokop
Your understanding is correct
You need to first create a conversation if it doesn't already exist using the create conversation api
https://developers.ringcentral.com/api-reference/Conversations/createGlipConversation
The API will return you the existing chatId if a conversation already exists with the given list of users and will not create a new chatId

You then need to use the chatId the above API returns to create a post using
https://developers.ringcentral.com/api-reference/Posts/createGlipPost

To add more context, the way glip works is that it considers every text communication as a "conversation" (unless it is a group)
What that means is that if you need to create an ad-hoc channel (not a group) where 2 or more people are involved, you need to have a "conversation" with a unique chatId

Hope this is helpful

on Mar 29, 2022 at 7:27am   •  2 likes

Thanks! I hope to have this coded up before too long and will see for myself. :-)

on Mar 15, 2021 at 8:54am   •  0 likes

Thank you very much for your response.



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