When user ask quertion from chat bot my user getting infinite response for same question.
How to resolve this type of issue.
Also, I am using below api of drift for response but i need access token so from where to find in my drift account.
$response = Http::withHeaders([
'Authorization' => 'Bearer ' . $Token,
'Content-Type' => 'application/json',
])
// ->post('https://driftapi.com/conversations/' . $conversationId . '/messages', [
->post('https://messaging.api.drift.com/conversations/' . $conversationId . '/messages', [
'body' => $messageContent,
'contentType' => "CHAT",
'type' => "CHAT"
]);