Import Group Members
Groups
Import Group Members
The CometChat group member import API allows customers to import their group members’ data into the CometChat systems.
POST
Import Group Members
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 members.
Example:
{
"guid1_member_uid2": {
"memberId": "guid1_member_uid2",
"uid": "uid2",
"guid": "guid1",
"joinedAt": "1673421419",
"scope": "admin",
"groupDetails": {
"guid": "guid1",
"name": "guid1",
"type": "public",
"owner": "uid1",
"createdAt": "1673421419"
},
"userDetails": { "uid": "uid2", "name": "uid2" }
}
}Response
200 - application/json
Import Group Member(s)