Import Groups
Groups
Import Groups
The CometChat group import API allows customers to import their groups’ data into the CometChat systems.
POST
Import Groups
For the complete error reference, see Error Guide.
Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Body
application/json
Wrapper for the groups.
Example:
{
"guid1": {
"guid": "guid1",
"name": "guid1",
"createdAt": "1673421419",
"type": "public",
"owner": "cometchat-uid-1",
"groupOwnerDetails": {
"uid": "cometchat-uid-1",
"name": "cometchat-uid-1"
}
}
}Response
200 - application/json
Import Group(s)