Create Agent
Creates a new agent with optional tools, API tools, MCP servers, and frontend actions. Use this endpoint to set up a fully configured agent in a single request. Validation: All referenced tools,
For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-campaigns-service-rest-api.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key (i.e. Rest API Key from the Dashboard).
Headers
Chat API version. Defaults to v3.0.
Body
Name of the agent
URL to the icon/avatar of the agent
Description of the agent
Array of tool names available to this agent
Array of API tool names available to this agent
Array of MCP server names available to this agent
Instructions for the agent behavior
Additional metadata for the agent
AI model to use for this agent
Configuration metadata for the AI model
Is the agent active?
Response
Agent created successfully