Assistants
Create Assistant
Creates a new Assistant
POST
/
user
/
createAssistant
curl --request POST \
--url https://api.precallai.com/api/v1/user/createAssistant \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"type": "<string>",
"name": "<string>",
"company_name": "<string>",
"gender": "<string>",
"accent": "<string>",
"actions": [
"<any>"
],
"goal": "<string>",
"start_speech": "<string>",
"voice_id": "<string>",
"voice_name": "<string>",
"voice_note": "<string>",
"zapier_hook": "<string>",
"script": "<string>",
"knowledge_base_Id": "<string>",
"maximum_time_per_call": 123,
"is_recording": true,
"is_voice_note": true
}'
{
"type": "<string>",
"name": "<string>",
"company_name": "<string>",
"gender": "<string>",
"accent": "<string>",
"actions": [
"<any>"
],
"goal": "<string>",
"start_speech": "<string>",
"voice_id": "<string>",
"voice_name": "<string>",
"voice_note": "<string>",
"zapier_hook": "<string>",
"script": "<string>",
"knowledge_base_Id": "<string>",
"maximum_time_per_call": 123,
"is_recording": true,
"is_voice_note": true
}
Authorizations
Body
application/json
Assistant to add
The body is of type object
.
Response
200
application/json
Assistant response
The response is of type object
.
curl --request POST \
--url https://api.precallai.com/api/v1/user/createAssistant \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"type": "<string>",
"name": "<string>",
"company_name": "<string>",
"gender": "<string>",
"accent": "<string>",
"actions": [
"<any>"
],
"goal": "<string>",
"start_speech": "<string>",
"voice_id": "<string>",
"voice_name": "<string>",
"voice_note": "<string>",
"zapier_hook": "<string>",
"script": "<string>",
"knowledge_base_Id": "<string>",
"maximum_time_per_call": 123,
"is_recording": true,
"is_voice_note": true
}'
{
"type": "<string>",
"name": "<string>",
"company_name": "<string>",
"gender": "<string>",
"accent": "<string>",
"actions": [
"<any>"
],
"goal": "<string>",
"start_speech": "<string>",
"voice_id": "<string>",
"voice_name": "<string>",
"voice_note": "<string>",
"zapier_hook": "<string>",
"script": "<string>",
"knowledge_base_Id": "<string>",
"maximum_time_per_call": 123,
"is_recording": true,
"is_voice_note": true
}
Assistant
Responses are generated using AI and may contain mistakes.