Creates a domain and flags it as a template, i.e. a provisioning source other domains can be built from.This is the ordinary domain create with domain-is-template=yes. The domain is otherwise normal — it can hold users, queues, attendants and audio like any other, and what it holds is exactly what a domain provisioned from it receives.Who may do this. Only a Super User, or a Reseller acting inside its own territory. The check applies to create as well as update, so the flag cannot be set at create time to get around it.Templates are hidden from ordinary domain lists.GET /domains excludes them unless asked (include-templates=yes or only), so they do not pad an administrator's domain grid or its counts. A request naming a single domain still reads it.Making it useful. Put {{TOKEN}} placeholders in names and descriptions where each provisioned domain should differ — {{STORE_NAME}}, {{STORE_NUMBER}} — then GET /domains/{domain}/template-variables will discover them and a caller can supply values at provisioning time. Set TEMPLATE_MAIN_DEST_TYPE and TEMPLATE_MAIN_DEST_NAME in the template's UI configuration to say where a provisioned domain's main number should land.See GET /domains/templates for the catalog of templates and what each one holds.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.