Create a new agent with the specified configuration. The agent can be used to handle phone and web calls. The response includes headers about rate limiting.
The API Key created in Rounded Studio.
The name of the agent
1 - 100"My first agent"
The language of the agent, expressed as a BCP 47 language tag by using its ISO 639-1 code (e.g. 'en', 'fr', 'es'). For French, regional variants using a region code from ISO 3166-1 are also supported (e.g. 'fr-BE').
en, fr, fr-FR, fr-BE, fr-CA, es, de, it, nl, pl, ar, pt, el, hr, zh "en"
"fr"
"fr-BE"
"es"
The initial message of the agent
1000"Hello, how can I help you today?"
The delay of the initial message in seconds
0 <= x <= 50
The maximum duration of the call in seconds
300
A series of phrases that the agent will say to re-engage the interlocutor after a period of silence. The phrases should be in the same language as the agent.
[
"Allo, vous êtes là ?",
"Pouvez-vous répéter s'il vous plaît ?"
]The number of seconds of silence after which the agent will say the presence check phrases
3 <= x <= 12010
The maximum number of times the agent will say the presence check phrases
1 <= x <= 1001
The base prompt of the agent
100000"You are a helpful assistant"
The voice of the agent
Whether to secure the recording URLs
true
Whether to allow interruptions
true
The sensitivity of the interruptions
high, medium, low "high"
The webhook URL of the agent
"https://webhook.site/123e4567-e89b-12d3-a456-426614174000"
The webhook subscriptions of the agent
event_variable_value_updated, event_all_variables_resolved, event_call_status_updated, event_call_recording_status_updated, event_call_answer_type_updated, event_task_transition, event_transcript, event_transcript_complete, event_phone_call_connected, event_phone_call_ended, event_phone_call_did_not_connect, event_web_call_connected, event_web_call_ended, event_recording, event_action, event_synthesizer_consumption, event_post_call, event_pipedream_connection [
"event_variable_value_updated",
"event_all_variables_resolved"
]The custom vocabulary of the agent, used mainly to improve transcription accuracy.
["super", "basta", "bravo", "gmail.com"]Successfully created agent
{
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
}HTTP status code of the response.