Messaging

Message templates

Create reusable message templates for dashboard and automation workflows.

Template fields

Templates store a name, content, optional source system, workspace ownership, and timestamps.

Template content supports placeholders such as `{{display_name}}`, `{{phone_number}}`, `{{email}}`, and metadata keys when rendered by template-aware workflows.

Templates are dashboard/customer-session resources. They are managed through `/api/customer/templates`, not through public `x-api-key` integration endpoints.

Template API routes

Use these routes from the authenticated customer dashboard or trusted server-side customer portal code. They require the customer session for the workspace.

GET/api/customer/templates

List templates in the current workspace.

POST/api/customer/templates

Create a template.

Create template
json
{
  "name": "Appointment reminder",
  "content": "Hi {{display_name}}, your appointment is tomorrow at {{time}}.",
  "source_system": "appointments"
}
POST/api/customer/templates/{template_id}/test-send

Send a template test through a workspace sender.

Need help?

Use Book Integration Help if you want setup help for OTP or automated customer messaging.

Next steps