Skip to main content

Update Insight Template Group

PUT 
/ai/conversations/insight-groups/:group_id

Update an insight template group

Request

Path Parameters

    group_id uuidrequired

    The ID of the insight group

Body

required

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

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L -X PUT 'https://api.telnyx.com/v2/ai/conversations/insight-groups/:group_id' \
-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"
}
}