Skip to content
Documentation
Hevia for developers

Extension formatBeta

An extension is pure data: a manifest plus content (rules, agents, articles, forms, templates, reports).

An extension is a JSON document { manifest, contents }. No code runs in Hevia: every part is validated by the same validators as the product's own settings pages and installed as data. The package format is formatVersion: 1; the marketplace that accepts third-party packages is the second version of the marketplace ("marketplace v2").

Manifest

FieldRules
formatVersion1
idSlug, 3 to 19 characters.
versionSemantic version x.y.z, strictly increasing.
name, summaryGerman and English required; Spanish, French, Portuguese optional.
publisher{ name, url? }
categories, languages, regionsWhere the extension fits.
pricing{ model: FREE | INCLUDED | PER_SEAT | USAGE, unit?, note? }: a description, never an amount.
requiresPlatform level and package features.
changelogAn entry for the current version is required.
permissions{ scopes, hosts }: API scopes (only with an app) and the hosts data may go to.

Contents

objectTypes, pipelines, lifecycleStages, automations, agents, procedures, articles, savedReplies, emailTemplates, forms, landingPages, reports, app (a private app draft with scopes and up to 3 webhooks) and httpTools (declared only, see the feature status).

Hard limits

  • Up to 200 000 characters after validation (upload up to 400 KB), at most 30 items per kind.
  • Keys only [a-z0-9_]; unknown fields are errors.
  • Every URL in the content must be https and on a host declared in the manifest. javascript:, data:, file: and credentials in URLs are refused.
  • An extension can never switch on automatic sending; messages are prepared for approval.

Check offline

Shell
npm run hevia-app -- validate package.json    # lint, size, scopes, hosts, secret and code scan
npm run hevia-app -- pack package.json        # canonical file and its hash
npm run hevia-app -- submit-dry package.json  # everything the submission does, offline

Generated from the product's own registries, so the reference matches the API.