POST
/
template
/
preview
curl --request POST \
  --url https://demo.enneo.ai/api/mind/template/preview \
  --header 'Content-Type: application/json' \
  --data '{
  "templateText": "<p>vielen Dank für die Meldung deines Zählerstandes.</p>\\n\\n<p>Wir haben den Zählerstand von {{intent.data.reading}} kWh für den {{formatDateDE intent.data.date}} erfasst und im System hinterlegt.</p>",
  "ticketId": 20,
  "contractId": 1234
}'
{
  "success": true,
  "preview": "<p>vielen Dank für die Meldung deines Zählerstandes.</p>\\n\\n<p>Wir haben den Zählerstand von 20112 kWh für den 31.01.2023 erfasst und im System hinterlegt.</p>",
  "variables": {
    "intent": {},
    "contract": {}
  }
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json

Response

200
application/json

Successful operation

The response is of type object.