start a conversation with a contact
ART-15509_KNOWLEDGE_NODE-14
//Your logic goes here |\n| 5 | } |\n| 6 | }); |\n| 7 | }, []); |\n```\n\nStart conversation\n------------------\n\nThe `startConversationContent` method opens the Plug widget directly to the conversation creation view. It replicates the action of clicking the **Send us a message** button, launching the widget to the conversation initiation screen.\n\nThis method also accepts an optional input parameter to pre-fill a message on the conversation creation screen, providing your users with a
Methods | DevRev | Docs
ART-1788_KNOWLEDGE_NODE-85
conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings Optional\nThe users in the conversation.\nmessages list of objects Optional\nInitial messages on the conversation.\nShow 2 properties\nmetadata object Optional\nShow
Get Post — DevRev | Docs
ART-1789_KNOWLEDGE_NODE-85
https:// api.devrev.ai / conversations.create\nCreates a conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings Optional\nThe users in the conversation.\nmessages list of objects Optional\nInitial messages on the conversation.\nShow 2
List — DevRev | Docs
ART-1300_KNOWLEDGE_NODE-85
https:// api.devrev.ai / conversations.create\nCreates a conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings Optional\nThe users in the conversation.\nmessages list of objects Optional\nInitial messages on the conversation.\nShow 2
Create — DevRev | Docs
ART-1781_KNOWLEDGE_NODE-83
Create.\n\nPOST https:// api.devrev.ai / conversations.create\nCreates a conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings Optional\nThe users in the conversation.\nmessages list of objects Optional\nInitial messages on the
List — DevRev | Docs
ART-1791_KNOWLEDGE_NODE-84
Create.\n\nPOST https:// api.devrev.ai / conversations.create\nCreates a conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings Optional\nThe users in the conversation.\nmessages list of objects Optional\nInitial messages on the
Self Delete — DevRev | Docs
ART-4071_KNOWLEDGE_NODE-0
b'[](/public/api-reference/conversations/create)\n\nPublic\n\n[API Reference](/public/api-reference/getting-started)[Conversations](/public/api-reference/conversations/create)\n\n# Create Conversation\n\nPOST\n\nhttps://api.devrev.ai/conversations.create\n\nTry it\n\nCreates a conversation.\n\n### Request\n\nThis endpoint expects an object.\n\ntypeenumRequired\n\nAllowed values: support\n\nbrandstringOptional`format: "id"`\n\nThe brand associated with the conversation.\n\nchannelslist of
Create Conversation — DevRev | Docs
ART-1792_KNOWLEDGE_NODE-86
send.\nShow variant\nResponse.\n\nThis endpoint returns a map from strings to any.\nAPI Reference conversations Create.\n\nPOST https:// api.devrev.ai / conversations.create\nCreates a conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings
Update — DevRev | Docs
ART-1786_KNOWLEDGE_NODE-83
send.\nShow variant\nResponse.\n\nThis endpoint returns a map from strings to any.\nAPI Reference conversations Create.\n\nPOST https:// api.devrev.ai / conversations.create\nCreates a conversation.\nRequest.\n\nThis endpoint expects an object.\ntype "support" Required\ndescription string Optional\nDescription for the conversation.\ngroup string Optional\nThe group that the conversation is associated with.\nis_spam boolean Optional\nWhether the conversation is spam.\nmembers list of strings
Delete — DevRev | Docs
ART-1506_KNOWLEDGE_NODE-0
b'[](/beta/api-reference/conversations/create)\n\nBeta\n\n[API Reference](/beta/api-reference/accounts/create)[conversations](/beta/api-reference/conversations/create)\n\n# Create Conversation\n\nPOST\n\nhttps://api.devrev.ai/conversations.create\n\nTry it\n\nCreates a conversation.\n\n### Request\n\nThis endpoint expects an object.\n\ntype"support"Required\n\ncustom_fieldsmap from strings to anyOptional\n\nApplication-defined custom fields.\n\ncustom_schema_specobjectOptional\n\nRequested
Create Conversation (Beta) — DevRev | Docs
ART-2897_KNOWLEDGE_NODE-16
conversation with your team.\n\n[code]\n\n    1| plugSDK.toggleWidget(true, \'create_conversation\', {  \n    ---|---  \n    2| \tstartConversationContent: \'Hi\',  \n    3| });\n[/code]  \n  \n## Shutdown\n\nThe `shutdown()` method is used to end the current user session in the PLuG widget. It allows you to clear users\xe2\x80\x99 conversations and tickets when they log out of your application.\n\n[code]\n\n    1| await window.plugSDK.shutdown();  \n    ---|---\n[/code]  \n  \nAfter calling
Methods — DevRev | Docs
ART-12460_KNOWLEDGE_NODE-11
the SDK to be configured and the user to be identified, whether they are unverified or anonymous.\n\nTo show the support chat screen in your app, you can use the following method:\n\n[code]\n\n    1| DevRev.showSupport(successCallback, errorCallback)  \n    ---|---\n[/code]  \n  \n### Creating a new support conversation\n\nYou can initiate a new support conversation directly from your app. This method displays the support chat screen and simultaneously creates a new conversation.\n\n[code]\n\n
Features — DevRev | Docs
ART-1466_KNOWLEDGE_NODE-23
} ) ; 7 } , []) ; Check widget status.\n\nUse isWidgetOpen to determine whether your chat widget is currently open or closed.\n\n1 window. plugSDK. isWidgetOpen\n\nThis returns true if the chat widget is open and false if it is closed.\n\nStart conversation.\n\nThe startConversationContent method opens the PLuG widget directly to the conversation creation view. It replicates the action of clicking the Send us a message. button, launching the widget to the conversation initiation screen.\n\nThis
Methods — DevRev | Docs
ART-15301_KNOWLEDGE_NODE-1
> | -d \'{ |\n| > | "users": [ |\n| > | "DEVU-12345" |\n| > | ] |\n| > | }\' |\n```\n\n[Try it](/api-reference/chats/create?explorer=true)\n\n201Created\n\n```\n|  |  |\n| --- | --- |\n| 1 | { |\n| 2 | "chat": { |\n| 3 | "type": "string" |\n| 4 | } |\n| 5 | } |\n```\n\nCreates a new chat, or optionally opens an existing one.\n\n### Headers\n\nAuthorizationstringRequired\n\nBearer authentication of the form `Bearer <token>`, where token is your auth token.\n\n### Request\n\nThis endpoint expects
Create Chat | DevRev | Docs
ART-4071_KNOWLEDGE_NODE-4
"text"`\n\nThe title for the conversation.\n\nuser_sessionslist of stringsOptional\n\nThe IDs of user sessions associated with the conversation.\n\n### Response\n\nThe response to creating a new conversation.\n\nconversationobject\n\nShow 18 properties\n\n### Errors\n\n400\n\nBad Request Error\n\n401\n\nUnauthorized Error\n\n403\n\nForbidden Error\n\n429\n\nToo Many Requests Error\n\n500\n\nInternal Server Error\n\n503\n\nService Unavailable Error\n\nPOST\n\n/conversations.create\n\n[code]\n\n
Create Conversation — DevRev | Docs