PreparedMessageCreate
A prepared message is a reusable templated message for an agent (e.g. an initial outreach line, a ping, or a WABA window opener). The text may contain {variable} placeholders filled in at send time.
product_idProduct Idrequired
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
agent_idAgent Idrequired
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
name object
Optional human-readable name.
- string
- null
string
typeTyperequired
What the prepared message is used for — initial, ping, or waba_opener.
Possible values: [initial, ping, waba_opener]
messageMessagerequired
The message template text (supports {variable} placeholders).
PreparedMessageCreate
{
"product_id": 0,
"agent_id": 0,
"name": "string",
"type": "initial",
"message": "string"
}