Kindly Docs

Go to App
⌘K
▶️Introduction
🔹Getting started with webhooks
🔹Webhooks reference
🔹Message processing
🔹Pattern dialogues
🔹Context memory
🔹Languages
📄Guides and Examples
◽Checking webhook signatures (HMACs)
◽Example: Chat transcript webhook
◽Kindly Chat authentication
◽Inbox backup to S3 bucket
◽Add the Spinnaker script tag to your site
◽Set up event tracking with Google Tag Manager (GTM)
⚙️APIs
▪️Application API
▪️Chat API
▪️Chat Transcript API
▪️Handover API
▪️Nudge API
▪️Statistics API
▪️iOS SDK
▪️Android SDK
▪️Ticket webhooks (BETA)
📦Legacy
📝APIs Changelog
🛡️Security
©️License and Disclaimer
Docs powered by
Archbee
APIs

Chat Transcript API

The Chat Transcript API allows you to retrieve the complete chat history and metadata for a particular conversation by using its unique chatId.

All chats are individually available via a REST API. URL's are sent in dialogue webhooks under the _links.chat field and under _links.self in Handover API events.

URL: https://bot.kindly.ai/api/v1/chats/:chatId

You must provide an Authorization header, with a valid Bot API key. You can get this by navigating to Connect -> Api Keys for your bot and creating one with the Read chats scope.

Example request:

Shell
|
curl -s -H 'Authorization: Bearer API_KEY' https://bot.kindly.ai/api/v1/chats/CHAT_ID


Check out a full implementation example (in Python) here.

Updated 25 Jul 2023
Did this page help you?
PREVIOUS
Chat API
NEXT
Handover API
Docs powered by
Archbee
Docs powered by
Archbee