TalkJS
communityChat API and pre-built UI for adding messaging to web and mobile apps.
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.
POST
https://api.talkjs.com/v1/{appId}/conversations/{conversationId}/messagesSend a message
Parameters
textmessage text (stringrequiredtypeUserMessage (stringrequiredappIdapp ID (stringrequiredsendersender user ID (stringrequiredconversationIdconversation ID (stringrequiredReturns
message with id, text, sender, createdAt, conversationIdGET
https://api.talkjs.com/v1/{appId}/conversationsList conversations
Parameters
appIdapp ID (stringrequiredlimitresults (integeroptionalReturns
data[] with id, subject, participants, lastMessage, createdAt, customPUT
https://api.talkjs.com/v1/{appId}/users/{userId}Create or update user
Parameters
namedisplay name (stringrequiredappIdapp ID (stringrequiredemailemail (string[]optionaluserIduser ID (stringrequiredphotoUrlavatar URL (stringoptionalReturns
user with id, name, email, photoUrl, createdAt