POST
/
api
/
v1
/
assistant
{
  "message": "<string>",
  "meta": {},
  "data": {
    "assistant_type": "simple",
    "llm_model": "gpt-4-0125-preview",
    "name": "<string>",
    "description": "<string>",
    "attributes": {},
    "system_prompt": "<string>",
    "voice": true,
    "custom_voice": true,
    "voice_languages": [
      "en-US",
      "de-DE",
      "mr-IN",
      "hi-IN"
    ],
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "show_images": true,
    "hide_ds": true,
    "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "has_human_agent": true,
    "use_tools": true,
    "conversation_flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Body

application/json
assistant_type
enum<string> | null
required
Available options:
simple,
chat,
phone,
nl2sql,
realtime_openai
llm_model
enum<string> | null
required
Available options:
gpt-4-0125-preview,
gpt-3.5-turbo-0125,
gpt-3.5-turbo-1106,
gpt-3.5-turbo,
gpt-4-1106-preview,
gpt-4o-2024-05-13,
gpt-4o-mini,
llama-3.1-70b-versatile,
gpt-4o-realtime-preview,
gpt-4o-mini-realtime-preview,
deepseek-r1-distill-llama-70b,
o3-mini
name
string | null
description
string | null
attributes
object
system_prompt
string | null
default:""
voice
boolean | null
default:false
custom_voice
boolean | null
default:false
voice_languages
any[]
org_id
string<uuid> | null
show_images
boolean | null
default:false
hide_ds
boolean | null
default:false
webhook_id
string<uuid> | null
has_human_agent
boolean | null
default:false
use_tools
boolean | null
default:false
conversation_flow_id
string<uuid> | null

Response

Successful Response

message
string | null
default:Data created successfully
meta
data
object | null