Skip to main content
POST
Apply template to bot

Authorizations

Authorization
string
header
required

An API key (annie-sk-v2-...) or an OAuth access token, sent as Authorization: Bearer <token>.

Path Parameters

templateId
string<uuid>
required

Body

Request body for applying a template to a bot

botId
string<uuid>
required

The bot to apply the template to

variables
object
required

Variable values keyed by variable name. Each value can be a plain string (inline substitution) or an options object.

Example:

Response

Response containing the applied template result

success
enum<boolean>
required
Available options:
true
data
object
required