Skip to main content
PUT
/
v2
/
api
/
numbers
/
{number}
/
default_summary_template
Set number default summary template
curl --request PUT \
  --url https://api.withallo.com/v2/api/numbers/{number}/default_summary_template \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "summary_template_id": "tst-abc123"
}
'
{
  "data": {
    "number": "+14155551234",
    "default_summary_template_id": "tst-abc123"
  }
}
Required scope: SUMMARY_TEMPLATES_WRITE

Behavior

Sets the default summary template for a phone number. New calls on that number are summarized using this template. The {number} path parameter is the Allo phone number in E.164 format (e.g. +14155551234). Pass summary_template_id (a tst-* ID) to set the default, or omit it / pass null to clear the default and fall back to Allo’s standard summary.

Errors

  • 404 PHONE_NUMBER_NOT_FOUND — the number is not one of your account’s numbers. List them with GET /v2/api/numbers.
  • 404 SUMMARY_TEMPLATE_NOT_FOUND — no active template with that ID exists for the number’s team.

Authorizations

Authorization
string
header
required

Path Parameters

number
string
required

Allo phone number in E.164 format

Example:

"+14155551234"

Body

application/json
summary_template_id
string | null

Summary template ID (tst-*) to set as the default, or null to clear.

Example:

"tst-abc123"

Response

Default summary template updated

data
object