We have a standardized URL for the case that the chat window is required to open in a pop-up or mobile application. The structure of it is:
embed.agentbot.net/[name]/[token]
Replace the Name field with the name of the Bot (optional) and the Token field with the Token of the window to be opened (mandatory).
Access article
Find out where to find a channel token
Examples of how the standardized URL will look like:
Wiith Name: embed.agentbot.net/aivo/93ab73fd906f84325441707db1372356
The name does not necessarily have to be the same as the bot name. For compound names, the space should be replaced by an underscore (_).
Without Name: embed.agentbot.net/93ab73fd906f84325441707db137235
- When we add the window from the standardized URL, we will have the option to send parameters to be set in the user.
- Normally, to request the window to load in an embed, we do it as follows: embed.agentbot.net/[name]/[token.
- To assign new parameters to the user, we must add the following:
embed.agentbot.net/[name]/[token]?user[parametro1]=Value1&user[parametro2]=Value2 &: Separation symbol between parametrics
user: Must be sent before the parameter name
[parameter]: Parameter name
=Value: Parameter value
In this way, the user will receive the following parameters:
parameter1=Value1
parameter2=Value 2