Skip to main content

Create Insight Template Group

POST 
/ai/conversations/insight-groups

Create a new insight group

Request

Body

required

    name Name (string)required
    description Description (string)
    webhook Webhook (string)

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L 'https://api.telnyx.com/v2/ai/conversations/insight-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "string",
"description": "string",
"webhook": "string"
}'

Response samples


{
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"insights": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"instructions": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"insight_type": "custom",
"name": "string",
"webhook": "string",
"json_schema": "string"
}
],
"webhook": "string"
}
}