Question

Getting infinite response from drift webhook

  • 11 April 2024
  • 0 replies
  • 13 views

Badge

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"

            ]);


0 replies

Be the first to reply!

Reply