This API triggers a conversation summary event in the Agent AI system. It is used to send event data related to a conversation to the specified bot.
curl --location 'https://huddl-agentassist-dev.kore.ai/agentassist/api/v1/hooks/st-c04e225f-a30b-5a0a-9524-a60ebdba290e' \
--header 'Content-Type: application/json' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLTgyODgxOTVlLTE1YzYtNThiYy04NzBlLTE5OTJmNmQxOGI4NCJ9.g5uslyya9WRcD6M0UOEjR-FUPntrcyNNwInJcX4rGvw' \
--data '{
"conversationId": "atesta-m03shn6u1",
"botId": "st-c04e225f-a30b-5a0a-9524-a60ebdba290e",
"events": [
{
"name": "TRIGGER_SUMMARY_EVENT",
"data": {
"language": "English",
"locale": "en",
"type": "post"
}
}
]
}
'
Parameter
|
Description
|
Mandate
|
conversationId
|
Unique identifier for the conversation..
|
Required
|
botId
|
Unique identifier for the bot.
|
Required
|
events
|
List of events to be triggered.
|
Required
|
eventsName
|
Name of the event. For example, "TRIGGER_SUMMARY_EVENT" .
|
Required
|
eventsData
|
Additional data for the event.
|
Required
|
eventsDataLanguage
|
The language of the event. Example: "English" .
|
Required
|
eventsDataLocale
|
The locale of the event. Example: "en" .
|
Required
|
eventsDataType
|
Type of the event. Example: "post" .
|
Required
|