Apply Template
Returns the full agent configuration for a given template without
persisting it. The caller can review and modify the configuration
before saving it via createAgent or updateAgent.
Requires agent_config:edit permission.
Documentation Index
Fetch the complete documentation index at: https://docs.naturalead.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token using an API key (format nl_live_* or nl_test_*)
Body
ID of the template to apply
Response
Template configuration (not persisted)
MongoDB ObjectId
Account ObjectId this agent belongs to
Agent display name
System prompt sent to the LLM for every conversation
High-level goal for the agent
active, inactive, draft Conversation language
Additional instructions for the agent
Criteria used to qualify leads
Message sent when the conversation is handed off to a human
Ordered conversation stages
ObjectIds of attached knowledge bases