Create a new AI agent with custom configuration. Agents can be set up as chatbots or assistants with tailored prompts, models, and appearance settings.
api keyYour 7en API key. Example: Api-Key 43NKLN3LKN4nlkn
stringMust be application/json
stringrequiredDisplay name of the agent. Example: "Support Bot"
stringrequiredCategory of the agent. Accepted values: "chatbot", "assistant"
stringType of agent. Accepted values: "General Assistant", "Tech Expert"
stringoptionalShort description of the agent's purpose. Example: "Handles tier-1 customer support queries."
stringoptionalSystem-level instructions that define the agent's behavior and persona.
objectoptionalLLM model configuration.
objectoptionalVisual customization for the chat widget.
objectoptionalBehavioral settings for the agent.
| Rule | Details |
|---|---|
| Agent limit | The number of agents you can create is capped by your subscription plan. Exceeding the limit returns 403 Forbidden with code agent_limit_reached. |
| Model permissions | Certain models (e.g. GPT-4o, Claude) require a Pro or Enterprise plan. Requesting an unavailable model returns 403 Forbidden with code model_not_permitted. |
| Payment status | Requests are blocked if your account has an outstanding payment issue. Returns 403 Forbidden with code payment_required. |
0.1–0.3 for factual/support agents, 0.7–1.0 for creative tasks.name and agent_category — omitting any returns a 400 error.Start building intelligent AI agents to engage with customers.