Export conversation
Tags: getting started
May 4, 2017 at 2:40am • 1 replies • 0 likes
tomas-kratochvil
Hello,
Is it possible to export glip conversation? To TXT or in any other way?
1 Answer
In Order to retrieve the conversations inside a Group, you would need to make two API calls to get :
Group ID
In order to retrieve the groupID, please use the GET Groups List endpoint to list all the available groups for the User / Extension
A sample response would look like this:
Once you have the groupID from the above API call, you could use the GET Posts by GroupID and filter the posts by groupID
A sample response would look like this:
You could take a look at our API endpoints for Glip within our API Explorer
- Group ID
- Get Posts for the Group ID
Group ID
In order to retrieve the groupID, please use the GET Groups List endpoint to list all the available groups for the User / Extension
A sample response would look like this:
{Get Posts for the Group ID
"id": "groupID1",
"name": null,
"description": null,
"type": "Group",
"members": [
"memberID1",
"memberID2",
"memberID3"
],
"isPublic": null,
"creationTime": "2017-04-03T17:30:21.729Z",
"lastModifiedTime": "2017-04-03T17:30:21.729Z"
},
{
"id": "groupID2",
"name": null,
"description": null,
"type": "PrivateChat",
"members": [
"memberID1",
"memberID2"
],
"isPublic": null,
"creationTime": "2016-05-26T02:31:54.822Z",
"lastModifiedTime": "2016-05-26T02:31:54.822Z"
},
{
"id": "groupID3",
"name": null,
"description": null,
"type": "PrivateChat",
"members": [
"memberID10",
"memberID2"
],
"isPublic": null,
"creationTime": "2017-03-22T23:06:29.353Z",
"lastModifiedTime": "2017-03-22T23:06:29.353Z"
}
}
Once you have the groupID from the above API call, you could use the GET Posts by GroupID and filter the posts by groupID
A sample response would look like this:
[Boom ! you have the conversations for the Group.
{
"id": "1384680292356",
"groupId": "groupID1",
"type": "TextMessage",
"text": "Hi team, customer is unable to access their Sandbox account. I searched for their account details on DPW and there were no results. User ID Blah Blah Blah .\n\nHow can we enable this account so they may access it again? Thanks.",
"creatorId": "glip-1271750659",
"addedPersonIds": null,
"creationTime": "2017-01-26T22:53:03.426Z",
"lastModifiedTime": "2017-01-26T22:53:03.426Z"
},
{
"id": "1335248527364",
"groupId": "groupID1",
"type": "TextMessage",
"text": "**Team, this is now our Glip Group to communicate between people**",
"creatorId": "630769004",
"addedPersonIds": null,
"creationTime": "2017-01-16T18:27:05.697Z",
"lastModifiedTime": "2017-01-26T23:01:17.291Z"
}
]
You could take a look at our API endpoints for Glip within our API Explorer
1
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