The chat API is available as Picarto Message Interface here: https://pmi.picarto.tv .
You need to have oauth_token and username in order to connect to the api which can be read here: https://pmi.picarto.tv/#Authentication
We also have a sample code which demonstrates how you can write a sample chat bot to connect to your channel chat here: https://pmi.picarto.tv/#Building-the-Bot
For more information, please contact [email protected]