Skip to main content
POST
Create Agent

Headers

Authorization
string
required

Your ChatDash API key: the agency API key (found on your agency profile) or a client API key (Agency dashboard → Clients → select a client → API Access tab). Client API keys can only access that client's own agents and data. See Authentication in the API introduction.

Body

application/json
name
string
required

The agent's name

platform
enum<string>
required

The agent's platform

Available options:
voiceflow,
openai,
botpress,
vectorshift,
flowise,
vapi,
retell,
elevenlabs,
n8n,
custom
apiId
string

The 'ID' for interacting with the agent platform's API. Varies by platform:

  • Voiceflow: Project ID
  • OpenAI: Assistant ID
  • Botpress: Messaging API webhook URL
  • Vectorshift: Agent Name on VectorShift
  • Flowise: Chatflow ID
  • Vapi: Assistant ID
  • Retell: Agent ID
  • ElevenLabs: Agent ID
  • n8n: N/A
  • Custom: N/A
apiKey
string

The 'Key' for interacting with the agent platform's API. Varies by platform:

  • Voiceflow: Dialog API Key
  • OpenAI: API Key
  • Botpress: Personal Access Token
  • Vectorshift: API Key
  • Flowise: API Key
  • Vapi: Private API Key
  • Retell: API Key
  • ElevenLabs: API Key
  • n8n: N/A
  • Custom: N/A
platformCredentials
Not Required · object

Additional credentials for interacting with certain agent platform's API (field only required for the specified platforms below)

agentConfig
object

Configuration settings defining how the system will handle the agent

Response

OK

message
string
Example:

"Agent created successfully"