---
title: "Update Insight Template"
method: PUT
path: "/ai/conversations/insights/{insight_id}"
tags: ["Conversations"]
---

# Update Insight Template

`PUT /ai/conversations/insights/{insight_id}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/ai/conversations/insights/{insight_id}`
- Auth: HTTP bearer

Updates the specified insight template and returns the updated template.

## Path parameters

- `insight_id` string, uuid, required: The ID of the insight

## Request body

- InsightTemplateUpdateReq
  - `instructions` string
  - `name` string
  - `webhook` string
  - `json_schema` union
    - string
    - object

## Response `200`

Successful Response

- InsightTemplateDetailRespData
  - `data` InsightTemplateResp, required
    - `id` string, uuid, required
    - `instructions` string, required
    - `created_at` string, date-time, required
    - `insight_type` 'custom' | 'default'
    - `name` string
    - `webhook` string
    - `json_schema` union: If specified, the output will follow the JSON schema.
      - string
      - object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
