Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Retell AI Create Agent API

The Create Agent API from Retell AI — 1 operation(s) for create agent.

Retell AI Create Agent API is one of 78 APIs that Retell AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Create Agent. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and pricing.

This API exposes 1 operation across 1 path, and defines 28 schemas. It is described by OpenAPI 3.0.3, at version 3.0.0.

Requests are made against a single base URL, https://api.retellai.com.

1 operations 1 paths 28 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0.0
Base URL
https://api.retellai.com
Authentication
HTTP Bearer
License
Resource Areas
1

Authentication & Security 1

Retell AI Create Agent API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (string) (api_key). By default, every request must be authenticated.

  • api_key — Authentication header containing API key (find it in dashboard). The format is "Bearer YOURAPIKEY"

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Create Agent 1
POST
/create-agent
Create a new agent
createAgent body → 201400401422500

Schemas 28

The contract defines 28 schemas that model the data the API accepts and returns. The most detailed are AgentRequest (57 properties), VoiceHandbookConfig (9 properties), StringAnalysisData (6 properties), EnumAnalysisData (6 properties). Each schema is shown below with its type and property counts.

CallPresetAnalysisData
object
System preset for post-call analysis (voice agents). Use in postcallanalysisdata to override prompts or mark fields optional.
5 properties 2 required
VoicemailActionBridgeTransfer
object
1 property 1 required
VoicemailActionPrompt
object
2 properties 2 required
LanguageLegacy
Legacy single-string language format. Accepts any concrete locale from Language, plus the special scalar value multi for multilingual support. If unset, will u…
Language
string
Specifies what language (and dialect) the agent will operate in. For instance, selecting en-GB optimizes speech recognition for British English and indexes kno…
AgentResponse
PIIConfig
object
2 properties 2 required
ResponseEngineRetellLm
object
3 properties 2 required
ResponseEngine
ResponseEngineConversationFlow
object
3 properties 2 required
VoicemailActionStaticText
object
2 properties 2 required
GuardrailConfig
object
2 properties
ResponseEngineCustomLm
object
2 properties 2 required
VoicemailAction
PostCallAnalysisData
Post-call analysis item (custom data or voice preset). Use for voice agent postcallanalysisdata; validates only call presets (callsummary, callsuccessful, user…
AsrProvider
string
ASR provider name.
VoiceHandbookConfig
object
Behavior presets for voice agents. All presets are available.
9 properties
BooleanAnalysisData
object
5 properties 3 required
VoicemailActionHangup
object
1 property 1 required
StringAnalysisData
object
6 properties 3 required
IvrAction
AnalysisData
NumberAnalysisData
object
5 properties 3 required
NullableLLMModel
string
Available LLM models for agents.
AgentRequest
object
57 properties
IvrActionHangup
object
1 property 1 required
EnumAnalysisData
object
6 properties 4 required
CallScreeningOption
object
If this option is set, the agent prompt will include call screen handling instructions for identity and call purpose questions. Set this to null to disable cal…
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

retell-ai-create-agent-api-openapi.yml Raw ↑

Other APIs Retell AI publishes across the network.

Retell AI Add Community Voice API
Retell AI Add Knowledge Base Sources API
Retell AI Agent Playground Completion API
Retell AI Clone Voice API
Retell AI Create Agent Version API
Retell AI Create Batch Call API
Retell AI Create Batch Test API
Retell AI Create Chat Agent API
Retell AI Create Chat API
Retell AI Create Chat Completion API
Retell AI Create Conversation Flow API
Retell AI Create Conversation Flow Component API