skip to content

In order to access access the bot using XML-RPC, you will need to format your request like so:

<?xml version="1.0"?>
<methodCall>
<methodName>programe.getResponse</methodName>
<params>
<param>
<value><string>client say</string></value>
</param>
<param>
<value><string>client id</string></value>
</param>
<param>
<value><string>Iniaes</string></value>
</param>
</params>
</methodCall>

"Client say" is the text the user is sending to the bot. "Client ID" would be some unique identifier for either your project or the user. The last param is which bot to use, in this case "Iniaes". Here is the bot XML-RPC server page and a sample XML-RPC client for the bot in PHP.