Generate response for a new customer message for an in-progress chat session using chatId
API Key is required in header. You can find it in the settings
OK
Unique identity for a chat
"chat-d17T6uReChpyfFeP"
The timestamp when the call record was created.
"2021-04-20T10:00:00.000Z"
Status of the chat
in-progress, ended, error "ended"
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?"
]
}
]Assigned agent for current campaign