Moved chatToken from paramenter to header in the api request