POST
/
bots
/
twilio-config
/
{id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

The ID of the Twilio configuration to update

Body

application/json
bot_profile
string
required

Profile name of the bot.

services
object
required

Services associated with the bot. See supported services for more the most up-to-date options.

config
object[]
required

Array of configurations for the services provided in the "services" section. The values should match a key provided in the "services" section. e.g. "llm", "tts", "stt" or a pre-defined service provided by they bot. e.g. `"vad". See Configurations for more information and see each service page from the Supported Services for available configuration options.

max_duration
number
required

Maximum duration for the bot's operation in seconds.

rtvi_client_version
string

The RTVI client version number. This can be optionally provided to confirm that your client and server versions are compatible.

api_keys
object

Optional set of API keys for the bot use for the given services. The key values should match a service name provided in the "services" section. e.g. {"cartesia": YOUR_CARTESIA_API_KEY}. See BYO API keys for more information.

dialin_settings
object

Dial-in settings for the bot. See Dial-in for more information.

dialout_settings
any[]

Optional dial-out settings. See Dial-out for more information.

webhook_tools
object

Used to configure webhook handlers for LLM function calls. See Webhooks for more information.

service_options
object

Optional service options for the services provided in the "services" section. The keys should match a service name provided in the "services" section. Each service can have either a single options object or an array of options objects. e.g. {"openai_tts": {"sample_rate": 24000}} or {"some_service": [{"option1": "value1"}, {"option2": "value2"}]}. See Service Options for more information.

room
object

The Daily room name used for the call.