Skip to main content
PATCH
/
api
/
v1
/
agents
/
{uuid}
/
call-behavior
Update call behavior
curl --request PATCH \
  --url https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/call-behavior \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio_recording": true,
  "background_sound": true,
  "background_sound_ambience": "office",
  "background_sound_volume": 0.3,
  "noise_cancellation": true,
  "silence_timeout_seconds": 60,
  "max_call_duration_seconds": 1800,
  "max_call_duration_message": "Time limit reached. Goodbye!"
}
'
{
  "success": true,
  "message": "Call behavior updated successfully",
  "data": {
    "audio_recording": true,
    "background_sound": true,
    "background_sound_ambience": "office",
    "background_sound_volume": 0.3,
    "noise_cancellation": true,
    "silence_timeout_seconds": 60,
    "max_call_duration_seconds": 1800,
    "max_call_duration_message": "Time limit reached. Goodbye!"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mihu.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

Body

application/json

The body is of type any.

Response

Call behavior updated