Create Agent
Agent API
Create Agent
Create Agent.
POST
Create Agent
Actual endpoint:
POST https://api.ravan.ai/api/v1/agents/Authorizations
Your Agni API key used to authenticate the request. Pass it in the
X-Api-Key header. Find or rotate it from your Ravan AI account settings.Body
The organization ID this agent belongs to.
The public-facing display name for the agent.
Agent status. Allowed values:
ACTIVE, INACTIVE.The LLM model identifier used by the agent for reasoning and responses.
The speech-to-speech model identifier used for realtime voice conversations.
The voice ID used for the agent speech output.
Controls response randomness. Lower values are more deterministic; higher values are more varied. Range:
0.0 – 1.0.Milliseconds of silence before the agent sends a reminder message.
Maximum number of reminder messages the agent can send during a call.
The message the agent sends as a reminder during silence.
Background sound profile to play during calls. Leave empty to disable.
Volume for the ambient sound. Range:
0 (muted) to 1 (full volume).Maximum allowed call duration in milliseconds.
Maximum time in milliseconds to let an outbound call ring before treating it as unanswered.
Message to leave when voicemail is detected.
Maximum time in milliseconds to wait for voicemail detection.
Custom patterns used for voicemail detection. Pass
null to disable.Model used to generate post-call analysis such as summaries and sentiment.
Array of structured data fields to extract after the call.
Tools enabled for the agent. Pass
null to disable.Knowledge base ID to attach to this agent.
The first message the agent says when the conversation starts.
Who speaks first. Allowed values:
agent, user.The system prompt used by the agent. Supports template variables like
{{current_time_Asia/Calcutta}}.List of webhook URLs to receive call events.
Duration of silence in milliseconds after which the call ends automatically.
Sensitivity for detecting user interruptions. Range:
0.0 – 1.0.Whether the agent retains memory across turns in a conversation.
IANA timezone used for calendar scheduling.
Accent preferences for the agent voice.
Whether the agent expresses emotion in its voice.
Salesforce calendar ID for appointment scheduling.
Backup phone number to transfer the call to on failure (E.164 format).
Response
Whether the request succeeded.
Human-readable status message. Example:
Agent created successfullyCreated agent object.

