Skip to main content
POST
/
v2
/
api
/
summary_templates
Create summary template
curl --request POST \
  --url https://api.withallo.com/v2/api/summary_templates \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "name": "Sales call",
  "call_context": "B2B SaaS sales calls",
  "icon": "📞",
  "sections": [
    {
      "title": "Pain points",
      "instructions": "List the prospect's pain points",
      "order": 0
    },
    {
      "title": "Next steps",
      "instructions": "What was agreed",
      "order": 1
    }
  ]
}
EOF
{
  "data": {
    "id": "tst-abc123",
    "name": "Sales call",
    "call_context": "B2B SaaS sales calls",
    "icon": "📞",
    "sections": [
      {
        "title": "Pain points",
        "instructions": "List the prospect's pain points",
        "order": 0
      },
      {
        "title": "Next steps",
        "instructions": "What was agreed",
        "order": 1
      }
    ],
    "created_at": "2026-06-01T10:00:00",
    "updated_at": "2026-06-01T10:00:00"
  }
}
Required scope: SUMMARY_TEMPLATES_WRITE

Behavior

Creates a summary template for the team. Only name is required. sections may contain up to 10 entries; each section needs a title and an order.

Idempotency

This endpoint supports the Idempotency-Key header. If a request succeeds and you retry with the same key, the stored response is returned without re-executing the operation. See Idempotency.

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required

Template name.

Example:

"Sales call"

call_context
string | null

Background context that helps the AI summarize calls (max 4000 characters).

Example:

"B2B SaaS sales calls"

icon
string | null

Optional icon (e.g. an emoji).

Example:

"📞"

sections
object[]

Ordered sections that make up the summary (max 10).

Maximum array length: 10

Response

Summary template created

data
object