POST
/
agents

Body

application/json
defaultVersionedPrompt
object
required

The default versioned prompt to use for this agent.

defaultVoiceId
string
required

The ID of the voice to use.

name
string
required

The name of the agent.

backgroundNoiseType
enum<string>
default:
noise

The background audio that's used by the agent.

Available options:
noise,
office
inboundWebhookResponse
boolean
linkedFunctionDefinitionIds
string[]

The function definitions that should be available to this agent

openingLine
object | null

Details about the Agent's opening line. If unspecified, or null no opening line will be created.

voiceVolumeLevel
integer | null
default:
-100

A value, generally between -300 and 300, indicating the volume level to use for the voice. The default is -100.

Response

200 - application/json
id
string
required
name
string
required