If you mean the live chat, that’s documented on dev.twitch.tv. Access to VOD comments isn’t documented.