API Details
| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/v1/public/bot/{{botId}} |
| Content Type | application/json |
| Authorization | auth: {{JWT}} — See How to generate the JWT Token |
Path Parameters
| Parameter | Required | Description |
|---|---|---|
host | Yes | The environment URL. For example, https://platform.kore.ai. |
botId | Yes | AI Agent ID or Stream ID. Available on the General Settings page of the AI Agent. |
Sample Request
Body Parameters
| Parameter | Required | Description |
|---|---|---|
conversationId | Yes | Unique identifier for the conversation. |
botId | Yes | Unique identifier for the AI Agent. |
events | Yes | List of events to trigger. |
events[].name | Yes | Name of the event. For example, "TRIGGER_SUMMARY_EVENT". |
events[].data | Yes | Additional data for the event. |
events[].data.language | Yes | Language of the event. Example: "English". |
events[].data.locale | Yes | Locale of the event. Example: "en". |
events[].data.type | Yes | Type of the event. Example: "post". |