End in-progress chat session using chatId
API Key is required in header. You can find it in the settings
A unique identifier for any chat
OK
Unique identity for a chat
"chat-d17T6uReChpyfFeP"
Assigned agent for current campaign
The timestamp when the call record was created.
"2021-04-20T10:00:00.000Z"
Status of chat
"ended"
transcript of the conversation in chat
Agent response of the last user message
[
{
"id": "chat-item-G9YdhDqua0EngI1G",
"role": "assistant",
"type": "message",
"content": [
"Hello! My name is Grace, and I'm calling on behalf of SigmaMind AI. Am I speaking with Michael?"
]
}
]Agent response of the last user message
[
{
"id": "chat-item-G9YdhDqua0EngI1G",
"role": "assistant",
"type": "message",
"content": [
"Hello! My name is Grace, and I'm calling on behalf of SigmaMind AI. Am I speaking with Michael?"
]
}
]A set of dynamic key-value pairs required by the selected Agent. These variables allow personalization of the call, such as passing the customer’s name or other contextual details.
{ "customer_name": "Michael" }