Skip to main content
POST
Create agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
enum<string>
required
Available options:
VAPI,
RETELL,
TIXAE,
ELEVENLABS
type
enum<string> | null
required
Available options:
INBOUND,
OUTBOUND,
null
promptType
enum<string> | null
required
Available options:
SINGLE,
MULTIPLE,
null
name
string | null
required
created_at
string
required
updated_at
string
required
apiKey
string
required
assistantId
string
required
createdByUserId
string
required
deletedAt
string | null
required
language
string | null
required
phoneNumber
string | null
required
prompt
string | null
required
workspaceId
string | null
required
callMonitoring
boolean
required
isUsingDefaultApiKey
boolean | null
required
phoneNumberId
string | null
required
webhookSecret
string | null
required
webhookUrl
string | null

Response

Successful response

message
string
required
data
object
required
{key}
any