API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · campaign_templates

Campaign Template Schema

Schema ID
campaign_template
Collection
campaign_templates
Permissions
  • Readcampaign_template_view
  • Createcampaign_template_manage
  • Editcampaign_template_manage
  • Deletecampaign_template_manage

Fields

Campaign Template Schema

campaign_templates4 permissions

Pre-configured campaign blueprint (e.g. "Windows 10 EOL", "Quartals-Check-in"). Used to scaffold new campaigns with a known-good set of segment + actions.

namestringrequired
1–200 characters
descriptionstringoptional
max 2000 charactersnullable
typestringrequired
max 64 characters
baseEntitystringrequired
1–64 characters
segmentIduuidoptional
nullable
segmentQueryobjectoptional
nullable
recipientResolverobjectoptional
nullable
actionsobject[]optional
Default: []
configobjectoptional
nullable
tagsstring[]optional
Default: []
isSystembooleanoptional

System-provided templates cannot be edited/deleted.

Default: falseread-only
iconstringoptional
max 64 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/campaign_templates — List, paginated + filterable
  • GET /api/v1/campaign_templates/<id> — Single entity
  • POST /api/v1/campaign_templates — Create
  • PATCH /api/v1/campaign_templates/<id> — Partial update
  • DELETE /api/v1/campaign_templates/<id> — Soft delete
  • GET /api/v1/campaign_templates/<id>/timeline — Audit + activities

Search