⭐Using URL Parameters to Control OmniChat Actions

πŸ“š Learn how to use URL parameters to control OmniChat actions. Open conversations, log in users, and access specific admin areas directly by appending parameters to your URLs.

πŸ’‘ PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

Table of contents

This tutorial explains how to use URL parameters to perform specific actions in OmniChat’s front-end chat and admin areas. Customize your chat and admin URLs to streamline user and admin tasks.

Front-end chat #

URL parameters allow the chat to perform specific actions on page load. To use them, append the URL parameters below to any URL on your website that displays the chat. Ex. https://example.com/?conversation=1234

URL parameter Description
?token=TOKEN Login an existing user. Replace TOKEN with the user’s token.
?conversation=ID Open a conversation. Replace ID with the conversation ID. The attribute token is required for not logged in users.
?chat=open Open the chat.

Admin area #

URL parameters allow the administration area to perform specific actions on page load. To use them, append the URL parameters below to your admin URL. Ex. https://omnichat.planifyx.com/?conversation=1234

URL parameter Description
?conversation=ID Open a conversation of the conversations area. Replace ID with the conversation ID.
?user=ID Open the profile box of a user. Replace ID with the user ID.
?setting=ID Open a setting of the settings area. Replace ID with the setting ID.
?report=ID Open a report of the reports area. Replace ID with the report ID.
?area=name Open an area of the admin. Replace name with: conversations, users, settings, reports.
?login_email=email&login_password=password Login an existing agent or user automatically. Replace email with the account email and password with the account password.

If you have additional doubts, remember that you can always contact us.