Create a new chat agent
Request body
Example request
{
"agent_name": "Jarvis",
"auto_close_message": "Thank you for chatting. The conversation has ended.",
"end_chat_after_silence_ms": 3600000,
"language": "en-US",
"webhook_url": "https://webhook-url-here",
"webhook_timeout_ms": 10000,
"data_storage_setting": "everything",
"data_storage_retention_days": 30,
"opt_in_signed_url": true,
"signed_url_expiration_ms": 86400000,
"post_chat_analysis_data": [
{
"type": "string",
"name": "customer_name",
"description": "The name of the customer.",
"examples": [
"John Doe",
"Jane Smith"
]
}
],
"analysis_successful_prompt": "The agent finished the task and the call was complete without being cutoff.",
"analysis_summary_prompt": "Summarize the call in a few sentences.",
"analysis_user_sentiment_prompt": "Evaluate the user's sentiment based on their tone and satisfaction level.",
"timezone": "America/New_York"
}Response
Successfully created a new chat agent.
Example response
{
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"base_version": 12,
"agent_name": "Jarvis",
"auto_close_message": "Thank you for chatting. The conversation has ended.",
"end_chat_after_silence_ms": 3600000,
"language": "en-US",
"webhook_url": "https://webhook-url-here",
"webhook_timeout_ms": 10000,
"data_storage_setting": "everything",
"data_storage_retention_days": 30,
"opt_in_signed_url": true,
"signed_url_expiration_ms": 86400000,
"post_chat_analysis_data": [
{
"type": "string",
"name": "customer_name",
"description": "The name of the customer.",
"examples": [
"John Doe",
"Jane Smith"
]
}
],
"analysis_successful_prompt": "The agent finished the task and the call was complete without being cutoff.",
"analysis_summary_prompt": "Summarize the call in a few sentences.",
"analysis_user_sentiment_prompt": "Evaluate the user's sentiment based on their tone and satisfaction level.",
"timezone": "America/New_York",
"last_modification_timestamp": 1703413636133
}Changes
Changed in 14 of the 28 revisions of this API.501174
- ●
removed the request property
////request-property-removed
- ●
removed the optional property
////from the response with the statusresponse-optional-property-removed
- ●
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
- ▲
removed the enum value
gemini-2.5-flashof the request property////request-property-enum-value-removed
- ●
added the new
transcript_updatedenum value to the/////response property for the response statusresponse-property-enum-value-added
- ○
added the new
transcript_updatedenum value to the request property/////request-property-enum-value-added
- ○
added
subschema #1subschema #3to the response bodyallOflist for the response statusresponse-body-all-of-added
- ○
removed
subschema #1subschema #3from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
removed the
gemini-2.5-flashenum value from the////response property for the response statusresponse-property-enum-value-removed
- ▲
- ●
added the new
gpt-5.5enum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gpt-5.5enum value to the request property////request-property-enum-value-added
- ●
- ▲
removed the enum value
bg-BGof the request property////request-property-enum-value-removed
- ▲
removed the enum value
ca-ESof the request property////request-property-enum-value-removed
- ▲
removed the enum value
cs-CZof the request property////request-property-enum-value-removed
- ▲
removed the enum value
da-DKof the request property////request-property-enum-value-removed
- ▲
removed the enum value
de-DEof the request property////request-property-enum-value-removed
- ▲
removed the enum value
el-GRof the request property////request-property-enum-value-removed
- ▲
removed the enum value
en-AUof the request property////request-property-enum-value-removed
- ▲
removed the enum value
en-GBof the request property////request-property-enum-value-removed
- ▲
removed the enum value
en-INof the request property////request-property-enum-value-removed
- ▲
removed the enum value
en-NZof the request property////request-property-enum-value-removed
- ▲
removed the enum value
en-USof the request property////request-property-enum-value-removed
- ▲
removed the enum value
es-419of the request property////request-property-enum-value-removed
- ▲
removed the enum value
es-ESof the request property////request-property-enum-value-removed
- ▲
removed the enum value
fi-FIof the request property////request-property-enum-value-removed
- ▲
removed the enum value
fr-CAof the request property////request-property-enum-value-removed
- ▲
removed the enum value
fr-FRof the request property////request-property-enum-value-removed
- ▲
removed the enum value
hi-INof the request property////request-property-enum-value-removed
- ▲
removed the enum value
hu-HUof the request property////request-property-enum-value-removed
- ▲
removed the enum value
id-IDof the request property////request-property-enum-value-removed
- ▲
removed the enum value
it-ITof the request property////request-property-enum-value-removed
- ▲
removed the enum value
ja-JPof the request property////request-property-enum-value-removed
- ▲
removed the enum value
ko-KRof the request property////request-property-enum-value-removed
- ▲
removed the enum value
lt-LTof the request property////request-property-enum-value-removed
- ▲
removed the enum value
lv-LVof the request property////request-property-enum-value-removed
- ▲
removed the enum value
multiof the request property////request-property-enum-value-removed
- ▲
removed the enum value
nl-BEof the request property////request-property-enum-value-removed
- ▲
removed the enum value
nl-NLof the request property////request-property-enum-value-removed
- ▲
removed the enum value
no-NOof the request property////request-property-enum-value-removed
- ▲
removed the enum value
pl-PLof the request property////request-property-enum-value-removed
- ▲
removed the enum value
pt-BRof the request property////request-property-enum-value-removed
- ▲
removed the enum value
pt-PTof the request property////request-property-enum-value-removed
- ▲
removed the enum value
ro-ROof the request property////request-property-enum-value-removed
- ▲
removed the enum value
ru-RUof the request property////request-property-enum-value-removed
- ▲
removed the enum value
sk-SKof the request property////request-property-enum-value-removed
- ▲
removed the enum value
sv-SEof the request property////request-property-enum-value-removed
- ▲
removed the enum value
th-THof the request property////request-property-enum-value-removed
- ▲
removed the enum value
tr-TRof the request property////request-property-enum-value-removed
- ▲
removed the enum value
vi-VNof the request property////request-property-enum-value-removed
- ▲
removed the enum value
zh-CNof the request property////request-property-enum-value-removed
- ▲
the
////request property type changed fromstringto no typerequest-property-type-changed
- ▲
added
subschema #2to the////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
the
////response's property type changed fromstringto no type for statusresponse-property-type-changed
- ○
added
subschema #2to the////request propertyoneOflistrequest-property-one-of-added
- ○
removed the
bg-BGenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ca-ESenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
cs-CZenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
da-DKenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
de-DEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
el-GRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-AUenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-GBenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-INenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-NZenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-USenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
es-419enum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
es-ESenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
fi-FIenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
fr-CAenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
fr-FRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
hi-INenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
hu-HUenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
id-IDenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
it-ITenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ja-JPenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ko-KRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
lt-LTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
lv-LVenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
multienum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
nl-BEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
nl-NLenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
no-NOenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
pl-PLenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
pt-BRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
pt-PTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ro-ROenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ru-RUenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
sk-SKenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
sv-SEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
th-THenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
tr-TRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
vi-VNenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
zh-CNenum value from the////response property for the response statusresponse-property-enum-value-removed
- ▲
- ●
added the new
gemini-3.1-flash-liteenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gemini-3.1-flash-liteenum value to the request property////request-property-enum-value-added
- ●
- ▲
removed from the
/////request propertyoneOflistrequest-property-one-of-removed
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added the new optional request property
////new-optional-request-property
- ○
added the new optional request property
////new-optional-request-property
- ○
added to the
/////request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
removed from the
/////response propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ●
added the new
gpt-5.4-minienum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
gpt-5.4-nanoenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gpt-5.4-minienum value to the request property////request-property-enum-value-added
- ○
added the new
gpt-5.4-nanoenum value to the request property////request-property-enum-value-added
- ●
- ●
added the new
gpt-5.4enum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gpt-5.4enum value to the request property////request-property-enum-value-added
- ●
- ▲
the
//////////request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
//////////request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
//////////request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
//////////request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the response property
////became nullable for the statusresponse-property-became-nullable
- ●
added the new
claude-4.6-sonnetenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
the request property
////became nullablerequest-property-became-nullable
- ○
added the new
claude-4.6-sonnetenum value to the request property////request-property-enum-value-added
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ▲