Create Assistant
To create assistant using the Teloai API, you must authenticate each request with an API key. This key must be included in the headers of your HTTP request.
To create assistant using the Teloai API, you must authenticate each request with an API key. This key must be included in the headers of your HTTP request.
curl --location 'https://api.teloai.app/api/assistant' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer your-api-key' \
--data '{
"title": "Assistant Title",
"AssistantInstructions": "Assistant Instructions",
"firstSentence": "First Sentence",
"lastSentence": "Last Sentence",
"voiceId": "Voice ID",
"language": "Language",
"timezone": "Timezone",
"dynamicVars": [
{
"key": "value Key",
"value": "Variable Value"
}
]
}'
{
"title": "text",
"firstMessage": "text",
"endCallMessage": "text",
"AssistantInstructions": "text",
"voiceId": "text",
"language": "text",
"dynamicVariables": [
{
"key": "text",
"value": "text"
}
],
"timezone": "text"
}