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

x-api-key
string
header
required

Body

application/json
Assistant to add
type
string
required

Type of assistant

name
string
required

The name of the assistant

company_name
string
required

The name of the company

gender
string
required

The gender

accent
string
required

The accent

goal
string
required

The goal of the assistant

start_speech
string
required

Start speech

voice_id
string
required

Voice id

voice_name
string
required

Voice name

script
string
required

Script

maximum_time_per_call
number
required

Maximum time per call

actions
any[]

The actions

voice_note
string

Voice note

zapier_hook
string

Zapier hook

knowledge_base_Id
string

Knowledge base

is_recording
boolean

Is recording

is_voice_note
boolean

Is voice note

Response

200
application/json
Assistant response
type
string
required

Type of assistant

name
string
required

The name of the assistant

company_name
string
required

The name of the company

gender
string
required

The gender

accent
string
required

The accent

goal
string
required

The goal of the assistant

start_speech
string
required

Start speech

voice_id
string
required

Voice id

voice_name
string
required

Voice name

script
string
required

Script

maximum_time_per_call
number
required

Maximum time per call

actions
any[]

The actions

voice_note
string

Voice note

zapier_hook
string

Zapier hook

knowledge_base_Id
string

Knowledge base

is_recording
boolean

Is recording

is_voice_note
boolean

Is voice note