Skip to main content
POST
Preview an AI reply template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
template_html
string
required
Required string length: 1 - 20000
session_number
integer
Required range: x <= 9007199254740991
from_address
string | null

From address of the AI agent's autopilot Case email: a literal address, a {{session attribute}} such as {{sf_case_LatestPOSEmail__c}}, or an {{#if …}} branch, resolved per session. Used only when it resolves to an email address; otherwise Salesforce's default sender applies. Empty or null clears it.

Maximum string length: 500
to_address
string | null

To address of the AI agent's autopilot Case email: a literal address, a {{session attribute}} such as {{reservation_email}}, or an {{#if …}} branch, resolved per session. Used only when it resolves to an email address; otherwise the Case contact's address applies. Empty or null clears it.

Maximum string length: 500

Response

Default Response

html
string
required
text
string
required
session_number
number | null
required
missing_variables
string[]
required
from_address
string | null
required
to_address
string | null
required