Import assistants from external provider
POST
/ai/assistants/import
Assistants
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/ai/assistants/import' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key_ref": "string",
"provider": "elevenlabs"
}'
Response Response Example
200 - Example 1
{
"data": [
{
"created_at": "2019-08-24T14:15:22Z",
"description": "string",
"dynamic_variables": {},
"dynamic_variables_webhook_url": "string",
"enabled_features": [
"telephony"
],
"greeting": "string",
"id": "string",
"import_metadata": {
"import_id": "string",
"import_provider": "elevenlabs"
},
"insight_settings": {
"insight_group_id": "string"
},
"instructions": "string",
"llm_api_key_ref": "string",
"messaging_settings": {
"default_messaging_profile_id": "string",
"delivery_status_webhook_url": "string"
},
"model": "string",
"name": "string",
"privacy_settings": {
"data_retention": true
},
"telephony_settings": {
"default_texml_app_id": "string"
},
"tools": [
{
"type": "webhook",
"webhook": {
"body_parameters": {
"properties": {
"age": {
"description": "The age of the customer.",
"type": "integer"
},
"location": {
"description": "The location of the customer.",
"type": "string"
}
},
"required": [
"age",
"location"
],
"type": "object"
},
"description": "string",
"headers": [
{
"name": "string",
"value": "string"
}
],
"method": "POST",
"name": "string",
"path_parameters": {
"properties": {
"id": {
"description": "The id of the customer.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"query_parameters": {
"properties": {
"page": {
"description": "The page number.",
"type": "integer"
}
},
"required": [
"page"
],
"type": "object"
},
"url": "https://example.com/api/v1/function"
}
}
],
"transcription": {
"language": "string",
"model": "string"
},
"voice_settings": {
"api_key_ref": "string",
"voice": "string",
"voice_speed": 1
}
}
]
}
Request
Body Params application/json