Send Live Chat Offline Messages via API 

 

If you use standard or custom off-line message form option on submission of off-line message an email will be sent to the specified email id, and data will also be posted to the URL you specify along with other information.

 

Here's how you can enable PreChatForm API:

Step 1: On Your ProProfs Live Chat dashboard, go to Settings >> Advanced >> API.

 

Offline Message API

 

Step 2: Enable Offline Message. Enter the name of the website as the Host and the server link in the Script Path. Select the port and click on Check Connection. If the connection is successful, click on Save.

 

Fill the Form to Enable Offline Message API


Below is the list of variables that will be posted via the script path. 

 

Parameter Description
l2s_sessid It stores the visitor's session ID.
l2s_sid  It stores the account ID.
l2s_ip It stores the visitor's IP address.
l2s_name It stores the name of the visitor.
l2s_email It stores the email address of the visitor.
l2s_msg It stores the message of the visitors.
l2s_date It stores the date of the message.

 

 

In case of a customized offline message from:

 

Parameter Description
l2s_sessid It stores the visitor's session ID.
l2s_sid  It stores the account ID.
l2s_ip It stores the visitor's IP address.


and the number of fields created will be accessible in the form of fld_1, fld_2, fld_3.....fld_n.

 

 

 

 

Was this information helpful?
© 2005 - 2023 ProProfs
add chat to your website