Create an agent
Agents
Create an agent
Creates a new voice AI agent.
Note:
first_messageandauto_first_messageare mutually exclusive. Providing both returns a400error.
POST
Create an agent
Authorizations
API key obtained from the OpenMic dashboard.
Body
application/json
Required string length:
1 - 255Minimum string length:
1Cannot be combined with auto_first_message: true.
Cannot be combined with first_message.
Available options:
OpenAI, ElevenLabs, Deepgram, Cartesia Required range:
0 <= x <= 2Available options:
Deepgram Maximum array length:
30Response
Agent created.
Unique agent identifier (slug/UUID).
Available options:
OpenAI, ElevenLabs, Deepgram, Cartesia Required range:
0 <= x <= 2Available options:
Deepgram Maximum array length:
30