---
title: "Update summary template"
method: PUT
path: "/v2/api/summary_templates/{id}"
tags: ["Summary Templates"]
---

# Update summary template

`PUT /v2/api/summary_templates/{id}`

Replaces a summary template's name, call context, icon, and sections.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required — Template name.
  - `call_context` string, nullable — Background context that helps the AI summarize calls (max 4000 characters).
  - `icon` string, nullable — Optional icon (e.g. an emoji).
  - `sections` SummaryTemplateSection[] — Ordered sections that make up the summary (max 10).
    - `title` string
    - `instructions` string
    - `order` integer — 0-based position of the section in the summary.

## Response `200`

Summary template updated

- object
  - `data` SummaryTemplate
    - `id` string
    - `name` string
    - `call_context` string, nullable
    - `icon` string, nullable
    - `sections` SummaryTemplateSection[]
      - `title` string
      - `instructions` string
      - `order` integer — 0-based position of the section in the summary.
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — Invalid request parameters
- `401` — Invalid or missing API key
- `404` — Resource not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.dev/withallo/apis/allo-api.md) · [All operations](https://skmtc.dev/withallo/apis/allo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/withallo/allo-api/revisions/9aab4db82933/schema)
