CometChat
communityIn-app chat, voice, and video calling SDK for mobile and web applications.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api-{appId}.cometchat.io/v3/conversationsList conversations
Parameters
perPageresults (integeroptionalconversationTypeuser|group (stringoptionalReturns
data[] with conversationId, conversationType, lastMessage, unreadMessageCount, conversationWithPOST
https://api-{appId}.cometchat.io/v3/messagesSend message
Parameters
datamessage data (objectrequiredtypetext|media|custom (stringrequiredreceiverreceiver UID (stringrequiredreceiverTypeuser|group (stringrequiredReturns
data with id, type, receiverType, receiver, sender, data, sentAtGET
https://api-{appId}.cometchat.io/v3/usersList users
Parameters
statusonline|offline (stringoptionalperPageresults (integeroptionalReturns
data[] with uid, name, avatar, status, lastActiveAt, role, createdAt