Skip to main content

Endpoints

Authentication: x-api-key: <api_key>

Parameter models

GET /api/v1/templates

POST /api/v1/templates

POST /api/v1/templates/{id}/preview


Syntaxe des variables

Format :
Namespaces supportés :
  • contact.*
  • user.*
  • instance.*
  • custom.*
Example:
Variables are automatically detected and recomputed by the backend from body. You do not need to maintain the variables list manually.

Create un template

Response:

Common errors


Preview

Si une variable ne peut pas être résolue :
  • valid devient false
  • missingVariables liste les chemins missings

Common errors


Templates media

Pour image, video, audio ou document, le backend exige mediaUrl. Example: