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://example.com/parrotgpt/admin.php?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. |