I've created a chatbot on CAI platform, it works fine and I can include it with script js.
But when I want to call it with dev token using ajax, I always get 404 error.
Calling method :
$.ajax({
type: "GET",
url: "https://" + "api.cai.tools.sap/auth/poc/owners/xxx", // my user slug
headers: {
"Authorization": 'Token xxxxxx' //my devtoken
},
success: function (data) {
},
error: function (data) {}
});