User Activity

Hi there, does anyone know if you can access the Chat via API e.g. send and receive messages? I can't find it in the documentation