Skip to main content

Overview

Create a new AI agent that can be used for voice calls, campaigns, or inbound phone numbers.

Prerequisites

  • API Key or Bearer Token
  • Organization access
  • At least one supported LLM configured

Request

string
Bearer token for authentication.
string
required
Unique name of the agent.
string
required
System prompt used by the agent.
string
Voice to use.

Response

Errors

  • 400 Bad Request
  • 401 Unauthorized
  • 500 Internal Server Error
Use GET /api/agents/ to verify the agent was created.