Building Registered Chat Links
Using the referenceCode
returned in the response from the register chat call, you can build a URL that points to a hosted instance of the widget that, when clicked, will start a chat from the registered chat.
The URL can point to a page either at medchatapp.com or on your company's site. The only requirements are that...
- The page hosts the MedChat widget that was specified when registering the chat, and
- The reference code is included as a querystring parameter:
chatReferenceCode={referenceCode}
.
If hosting the widget at medchatapp.com, the URL would look like the following:
https://medchatapp.com/widget/g0iDQrAbjkbpXy5HB_t4wg?chatReferenceCode=YP6XQEH4
If hosting the widget on your company's site, the URL might look something like this:
https://yourcompany.com?chatReferenceCode=YP6XQEH4
Updated about 24 hours ago
What’s Next