# Create an AI template Create a new AI template for generating outreach messages. Endpoint: POST /flows/api/ai-templates Version: 2.0.0 Security: bearerAuth ## Request fields (application/json): - `name` (string, required) Example: "Personalized Intro" - `prompt` (string) Example: "Write a short LinkedIn connection request to {first_name}..." - `body` (string) - `subject` (string) - `fallback_body` (string) - `type` (string) - `enable_validation` (boolean) ## Response 201 fields (application/json): - `uuid` (string) - `team_id` (integer) - `user_id` (integer) - `name` (string) Example: "Personalized Intro" - `prompt` (string,null) - `body` (string,null) - `subject` (string,null) - `fallback_body` (string,null) - `type` (string,null) - `enable_validation` (boolean) - `template_category_uuid` (string,null) - `created_at` (string) - `updated_at` (string)