Allo

Set a number's default template

Sets or clears the default summary template used for a phone number's call summaries. Pass summary template id to set it, or null/omit to clear it.

PUT/v2/api/numbers/{number}/default_summary_template

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.

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Path parameters

numberstringrequired

Allo phone number in E.164 format

Body

summary_template_idstring | null

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

Responses

200Default summary template updated
dataobject
2 fields
numberstring
default_summary_template_idstring | null
400
401
404
429