Skip to main content
POST
/
v1
/
call-agents
Create Call Agent
curl --request POST \
  --url http://api.stuut.ai/v1/call-agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "inbound"
}
'
{
  "object": "<string>",
  "remote_agent_id": "<string>",
  "type": "inbound",
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "recording_consent_required": true,
  "retell_agent": {
    "agent_id": "<string>",
    "agent_name": "<string>",
    "interruption_sensitivity": 0.5,
    "language": "<string>",
    "responsiveness": 0.5,
    "voice_speed": 1.25,
    "voice_temperature": 1,
    "voice_id": "<string>"
  },
  "retell_voice": {
    "accent": "<string>",
    "age": "<string>",
    "gender": "<string>",
    "preview_audio_url": "<string>",
    "provider": "<string>",
    "voice_id": "<string>",
    "voice_name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required
Available options:
inbound,
outbound

Response

Successful response

object
string
required
remote_agent_id
string
required

The id of the remote agent to use for this call agent.

type
enum<string>
required
Available options:
inbound,
outbound
Maximum string length: 8
id
string
Maximum string length: 32
created_at
string<date-time>
modified_at
string<date-time> | null
retell_agent
object
retell_voice
object