Assistants
Create, read, update and delete the voice assistants that answer your calls.
An assistant is one configured voice agent — a prompt, a voice, a greeting, and the phone number, knowledge bases and functions attached to it. A workspace can have many.
Beta. This API is documented but not yet frozen. Response fields and error codes may change without a version bump. Pin your integration to the fields you use, and expect additions.
Ownership
Any member can create an assistant and read every assistant in the workspace. Changing or deleting one is gated by ownership: a MEMBER may only change assistants they created; an ADMIN or OWNER may change any. The detail response tells you which applies to your token in its canEdit field.
Attaching things
You attach a phone number, knowledge bases and functions by id, in the same request that creates or updates the assistant:
connectPhoneId— one phone number (an assistant has at most one). UsedisconnectPhoneIdon update to detach it. If the assistant already has a number, the new one replaces it. If the number is attached to another assistant, it moves to this one, and that assistant stops answering it. The API does not refuse this, so read the phone'sassistantIdfirst.connectKnowledgeIds/disconnectKnowledgeIds— up to 20 per request.connectFunctionIds/disconnectFunctionIds— up to 20 per request.
An id from another workspace answers the matching …_NOT_FOUND_OR_UNAUTHORIZED code.
Attaching an sms function to an assistant whose number cannot send SMS answers SMS_CAPABILITY_REQUIRED; an assistant with no number counts as one that cannot. On create, the check reads the connectPhoneId number. On update, it reads the number the request leaves the assistant with, so one request can attach a new number and an sms function together. Connecting a number that cannot send SMS detaches the assistant's sms functions in the same update. Removing the number with disconnectPhoneId keeps them, and they work again once you connect a number that can text. A book function with smsSend on is not refused: the booking still works, only its confirmation text is skipped, and the answer is a plain success with no warning.
Variables in the spoken texts
Four texts can hold variables, written in double braces: greeting, outboundIdentity, outboundGreeting and outboundVoicemailMessage.
{{assistant_name}}works in all four. dBel fills it with the assistant'sname, spoken exactly as written.{{business_name}},{{callback_number}}and{{callback_line}}work in all four. dBel fills them from the workspace's Settings → Business details: the business name (or the workspace name when that is blank), the callback number, and a sentence such as "You can reach us at +1 555 123 4567." — empty when no callback number is set. See the outbound calling guide.- The three outbound texts also take your own names, like
{{first_name}}. You send their values in each outbound call request. Write{{name}}to make a value required,{{name|there}}to speak a word when it is missing, or{{name|}}to leave it out.outboundIdentitycannot use{{name|}}: the person who answers must always hear who is calling. - The inbound
greetingtakes no names of your own: an inbound call has no request to carry values.
A create or update with a broken variable ({{name with no closing braces, {{}}, or {{a|b|c}}) or a variable the text does not take answers 400 (INVALID_REQUEST_BODY). errors names the field and the reason, for example "{{nmae}} is not available in the inbound greeting." In an outbound text a misspelled name is still a valid name of your own, so check callVariables.
The detail response lists the variables of the three outbound texts in callVariables: one entry per name, sorted by name. required is true when any use of the name is {{name}}. fallback is the first fallback word, in identity → greeting → voicemail order, or null. The voicemail message counts only while voicemail is on.
Timezone
timezone is the timezone the assistant uses on calls: it is told the date and time there. The value is an IANA timezone name, such as Australia/Sydney or America/New_York, and it follows daylight saving. A new assistant created without one gets its workspace's timezone, or UTC when the workspace has none. The API accepts the names below. A create or update with any other name answers 400 (INVALID_REQUEST_BODY).
- Australia
Australia/Sydney,Australia/Melbourne,Australia/Brisbane,Australia/Adelaide,Australia/Darwin,Australia/Perth,Australia/Hobart- Canada
America/St_Johns,America/Halifax,America/Toronto,America/Winnipeg,America/Regina,America/Edmonton,America/Vancouver,America/Whitehorse- United States
America/New_York,America/Chicago,America/Denver,America/Phoenix,America/Los_Angeles,America/Anchorage,Pacific/Honolulu,America/Puerto_Rico- Other
UTC,Europe/London,Europe/Dublin,Europe/Paris,Europe/Berlin,Africa/Johannesburg,Asia/Dubai,Asia/Kolkata,Asia/Singapore,Asia/Tokyo,Pacific/Auckland,America/Mexico_City,America/Sao_Paulo
Before December 2026, this field held a fixed UTC offset, such as "PLUS_10_00". Each stored value moved to a timezone with the same offset: "PLUS_10_00" became Etc/GMT-10, which is UTC+10:00 all year (an Etc/GMT name inverts the sign), and "PLUS_05_30" became Asia/Kolkata. Two offsets have no such timezone: "PLUS_10_30" became Australia/Lord_Howe, which adds 30 minutes in its summer, and "PLUS_12_45" became Pacific/Chatham, which adds an hour. The old values are refused. A migrated value, such as Etc/GMT-10, is accepted, so a client can send back what it read; for a new value, pick a name from the list above.
Example — create an assistant
curl -X POST https://dbel.ai/api/assistants \
-H "Authorization: Bearer $DBEL_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Front desk",
"prompt": "You are the receptionist for Acme Dental. Be brief and warm.",
"greeting": "Thanks for calling Acme Dental. How can I help?"
}'The response is 201 with { "assistant": { … } }. Keep assistant.id — every other assistant call needs it.
Endpoints
GET/api/assistants
List the workspace's assistants, newest first.
Auth: Bearer token · any workspace member
Query parameters
| Field | Type | Notes |
|---|---|---|
| limit | integer 1–100 | Rows per page. Default 20. |
| cursor | string | The nextCursor from the previous page. |
Responses
200 JSON body:
| Field | Type | Notes |
|---|---|---|
| assistants | object[] | |
| assistants[].id | string | |
| assistants[].name | string | |
| assistants[].version | string | |
| assistants[].createdAt | datetime | |
| assistants[].updatedAt | datetime | |
| assistants[].greeting | string | |
| assistants[].outboundIdentity | string | null | |
| assistants[].outboundGreeting | string | null | |
| assistants[].outboundVoicemailEnabled | boolean | |
| assistants[].outboundVoicemailMessage | string | null | |
| assistants[].outboundOptOutOffer | boolean | |
| assistants[].llm | enum: GPT_5_4_MINI | GPT_6_LUNA | GPT_5_2 | GPT_5_6_TERRA | GPT_5_4 | |
| assistants[].prompt | string | |
| assistants[].keywords | string[] | |
| assistants[].recordingEnabled | boolean | |
| assistants[].recordingDisclosureMode | enum: NOTICE_ONLY | EXPLICIT_CONSENT | null | |
| assistants[].recordingDisclosureText | string | null | |
| assistants[].recordingConsentDeniedBehavior | enum: CONTINUE_WITHOUT_RECORDING | HANGUP | null | |
| assistants[].timezone | string | |
| assistants[].transcriptEnabled | boolean | |
| assistants[].llmTemperature | number | |
| assistants[].voiceSimilarity | number | |
| assistants[].voiceStability | number | |
| assistants[].voiceStyle | number | |
| assistants[].voiceId | string | |
| assistants[].voiceName | string | |
| assistants[].voicePreviewUrl | string | |
| assistants[].webhookUrl | string | null | |
| assistants[].embedEnabled | boolean | |
| assistants[].embedMode | enum: POPUP | INLINE | |
| assistants[].embedAllowedDomains | string[] | |
| assistants[].embedTheme | json | null | |
| assistants[].embedBrandingHidden | boolean | |
| assistants[].embedPageContext | json | null | |
| assistants[].embedLeadCapture | json | null | |
| hasMore | boolean | |
| nextCursor | string | null |
Errors
Problem Details (RFC 9457). Each code links to its reference page.
- 400 INVALID_REQUEST_QUERY — The request query is invalid.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 500 UNKNOWN_ERROR — An unexpected server error occurred. Please try again later.
Plus the auth-layer codes every endpoint can return
- 401 UNAUTHENTICATED — Authentication required.
- 403 EMAIL_NOT_VERIFIED — Your email address is not verified.
- 401 INVALID_USER — The authenticated user is invalid or missing.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
- 403 FORBIDDEN — You do not have permission to access this resource.
- 429 RATE_LIMIT_EXCEEDED — Too many requests. Please wait.
POST/api/assistants
Create an assistant.
RESOURCE_CONFLICT means an assistant with that name already exists in the workspace, ignoring case. A rename through PATCH is not checked. The web-widget plan limits apply as on update: an embedAllowedDomains list longer than the plan allows answers PLAN_FEATURE_RESTRICTED, and on the Free plan embedBrandingHidden, embedPageContext.enabled and the embedLeadCapture fields save switched off with a 201.
Auth: Bearer token · any workspace member
Request body
application/json
outboundVoicemailMessage needs outboundVoicemailEnabled: true in the same body, even when voicemail is already on. With recordingEnabled: false, recordingDisclosureMode, recordingDisclosureText and recordingConsentDeniedBehavior must be absent or null. With recording on (or recordingEnabled absent) and no recordingDisclosureMode key, the assistant gets EXPLICIT_CONSENT and the default consent question, and a recordingDisclosureText sent without a mode is ignored; an explicit null mode stays null.
| Field | Type | Notes |
|---|---|---|
| name * | string | min 1 |
| version | string | |
| llm | enum: GPT_5_4_MINI | GPT_6_LUNA | GPT_5_2 | GPT_5_6_TERRA | GPT_5_4 | |
| llmTemperature | number | min 0, max 1 |
| voiceId | string | |
| voiceName | string | |
| voicePreviewUrl | string | URL |
| voiceStability | number | min 0, max 1 |
| voiceSimilarity | number | min 0, max 1 |
| voiceStyle | number | min 0, max 1 |
| prompt | string | |
| greeting | string | |
| outboundIdentity | string | null | max 160 |
| outboundGreeting | string | null | max 160 |
| outboundVoicemailEnabled | boolean | |
| outboundOptOutOffer | boolean | |
| outboundVoicemailMessage | string | null | max 500 |
| keywords | string[] | |
| timezone | enum: Australia/Sydney | Australia/Melbourne | Australia/Brisbane | Australia/Adelaide | Australia/Darwin | Australia/Perth | Australia/Hobart | America/St_Johns | America/Halifax | America/Toronto | America/Winnipeg | America/Regina | America/Edmonton | America/Vancouver | America/Whitehorse | America/New_York | America/Chicago | America/Denver | America/Phoenix | America/Los_Angeles | America/Anchorage | Pacific/Honolulu | America/Puerto_Rico | UTC | Europe/London | Europe/Dublin | Europe/Paris | Europe/Berlin | Africa/Johannesburg | Asia/Dubai | Asia/Kolkata | Asia/Singapore | Asia/Tokyo | Pacific/Auckland | America/Mexico_City | America/Sao_Paulo | Etc/GMT+12 | Etc/GMT+11 | Etc/GMT+10 | Etc/GMT+9 | Etc/GMT+8 | Etc/GMT+7 | Etc/GMT+6 | Etc/GMT+5 | Etc/GMT+4 | Etc/GMT+3 | Etc/GMT+2 | Etc/GMT+1 | Etc/GMT-1 | Etc/GMT-2 | Etc/GMT-3 | Etc/GMT-4 | Etc/GMT-5 | Etc/GMT-6 | Etc/GMT-7 | Etc/GMT-8 | Etc/GMT-9 | Etc/GMT-10 | Etc/GMT-11 | Etc/GMT-12 | Etc/GMT-13 | Etc/GMT-14 | Asia/Tehran | Asia/Kabul | Asia/Kathmandu | Asia/Yangon | Australia/Eucla | Australia/Lord_Howe | Pacific/Chatham | |
| transcriptEnabled | boolean | |
| recordingEnabled | boolean | |
| recordingDisclosureMode | enum: NOTICE_ONLY | EXPLICIT_CONSENT | null | |
| recordingDisclosureText | string | null | max 500 |
| recordingConsentDeniedBehavior | enum: CONTINUE_WITHOUT_RECORDING | HANGUP | null | |
| webhookUrl | string | null | URL, max 2048 |
| embedEnabled | boolean | |
| embedMode | enum: POPUP | INLINE | |
| embedAllowedDomains | string[] | |
| embedTheme | object | |
| embedTheme.accentColor | string | matches ^#[0-9a-f]{6}$ |
| embedTheme.theme | enum: light | dark | system | |
| embedTheme.icon | string | null | URL |
| embedTheme.position | enum: bottom-right | bottom-left | top-right | top-left | |
| embedTheme.headerText | string | max 40 |
| embedTheme.idlePrompt | string | max 60 |
| embedBrandingHidden | boolean | |
| embedPageContext | object | |
| embedPageContext.enabled * | boolean | |
| embedPageContext.layers * | (enum: metadata | content | interactions | annotations)[] | |
| embedPageContext.selector | string | max 200 |
| embedPageContext.maxChars | integer | min 500, max 12000 |
| embedPageContext.maxItems | integer | min 1, max 100 |
| embedPageContext.maxEvents | integer | min 0, max 50 |
| embedLeadCapture | object | |
| embedLeadCapture.name * | enum: off | optional | required | |
| embedLeadCapture.email * | enum: off | optional | required | |
| embedLeadCapture.phone * | enum: off | optional | required | |
| embedLeadCapture.heading | string | max 120 |
| embedLeadCapture.submitLabel | string | max 40 |
| connectFunctionIds | string[] | |
| connectKnowledgeIds | string[] | |
| connectPhoneId | string |
Responses
201 JSON body:
| Field | Type | Notes |
|---|---|---|
| assistant | object | |
| assistant.id | string | |
| assistant.name | string | |
| assistant.version | string | |
| assistant.createdAt | datetime | |
| assistant.updatedAt | datetime | |
| assistant.greeting | string | |
| assistant.outboundIdentity | string | null | |
| assistant.outboundGreeting | string | null | |
| assistant.outboundVoicemailEnabled | boolean | |
| assistant.outboundVoicemailMessage | string | null | |
| assistant.outboundOptOutOffer | boolean | |
| assistant.llm | enum: GPT_5_4_MINI | GPT_6_LUNA | GPT_5_2 | GPT_5_6_TERRA | GPT_5_4 | |
| assistant.prompt | string | |
| assistant.keywords | string[] | |
| assistant.recordingEnabled | boolean | |
| assistant.recordingDisclosureMode | enum: NOTICE_ONLY | EXPLICIT_CONSENT | null | |
| assistant.recordingDisclosureText | string | null | |
| assistant.recordingConsentDeniedBehavior | enum: CONTINUE_WITHOUT_RECORDING | HANGUP | null | |
| assistant.timezone | string | |
| assistant.transcriptEnabled | boolean | |
| assistant.llmTemperature | number | |
| assistant.voiceSimilarity | number | |
| assistant.voiceStability | number | |
| assistant.voiceStyle | number | |
| assistant.voiceId | string | |
| assistant.voiceName | string | |
| assistant.voicePreviewUrl | string | |
| assistant.webhookUrl | string | null | |
| assistant.embedEnabled | boolean | |
| assistant.embedMode | enum: POPUP | INLINE | |
| assistant.embedAllowedDomains | string[] | |
| assistant.embedTheme | json | null | |
| assistant.embedBrandingHidden | boolean | |
| assistant.embedPageContext | json | null | |
| assistant.embedLeadCapture | json | null |
Errors
Problem Details (RFC 9457). Each code links to its reference page.
- 404 FUNCTION_NOT_FOUND_OR_UNAUTHORIZED — Function not found or you do not have access.
- 400 INVALID_REQUEST_BODY — The request body is invalid.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 404 KNOWLEDGE_NOT_FOUND_OR_UNAUTHORIZED — Knowledge base not found or you do not have access.
- 404 PHONE_NOT_FOUND_OR_UNAUTHORIZED — Phone not found or you do not have access.
- 402 PLAN_FEATURE_RESTRICTED — This feature is not available on your current plan. Please upgrade.
- 409 RESOURCE_CONFLICT — The request conflicts with the current state of the target resource.
- 422 SMS_CAPABILITY_REQUIRED — This assistant's phone number does not support SMS. Attach an SMS-capable number first.
- 500 UNKNOWN_ERROR — An unexpected server error occurred. Please try again later.
Plus the auth-layer codes every endpoint can return
- 401 UNAUTHENTICATED — Authentication required.
- 403 EMAIL_NOT_VERIFIED — Your email address is not verified.
- 401 INVALID_USER — The authenticated user is invalid or missing.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
- 403 FORBIDDEN — You do not have permission to access this resource.
- 429 RATE_LIMIT_EXCEEDED — Too many requests. Please wait.
GET/api/assistants/{assistantId}
Fetch one assistant with its phone, knowledge bases and functions.
Auth: Bearer token · any workspace member
Responses
200 JSON body:
| Field | Type | Notes |
|---|---|---|
| assistant | object | phone is null when no number is attached. canEdit says whether the CALLER may PATCH/DELETE this assistant; it is not returned by the list endpoint. callVariables lists the custom variables the outbound texts use, one entry per name, sorted by name: send a value for each required one when you place a call. fallback is the first fallback word, in identity → greeting → voicemail order. The voicemail message counts only while voicemail is on. |
| assistant.id | string | |
| assistant.name | string | |
| assistant.version | string | |
| assistant.createdAt | datetime | |
| assistant.updatedAt | datetime | |
| assistant.greeting | string | |
| assistant.outboundIdentity | string | null | |
| assistant.outboundGreeting | string | null | |
| assistant.outboundVoicemailEnabled | boolean | |
| assistant.outboundVoicemailMessage | string | null | |
| assistant.outboundOptOutOffer | boolean | |
| assistant.llm | enum: GPT_5_4_MINI | GPT_6_LUNA | GPT_5_2 | GPT_5_6_TERRA | GPT_5_4 | |
| assistant.prompt | string | |
| assistant.keywords | string[] | |
| assistant.recordingEnabled | boolean | |
| assistant.recordingDisclosureMode | enum: NOTICE_ONLY | EXPLICIT_CONSENT | null | |
| assistant.recordingDisclosureText | string | null | |
| assistant.recordingConsentDeniedBehavior | enum: CONTINUE_WITHOUT_RECORDING | HANGUP | null | |
| assistant.timezone | string | |
| assistant.transcriptEnabled | boolean | |
| assistant.llmTemperature | number | |
| assistant.voiceSimilarity | number | |
| assistant.voiceStability | number | |
| assistant.voiceStyle | number | |
| assistant.voiceId | string | |
| assistant.voiceName | string | |
| assistant.voicePreviewUrl | string | |
| assistant.webhookUrl | string | null | |
| assistant.embedEnabled | boolean | |
| assistant.embedMode | enum: POPUP | INLINE | |
| assistant.embedAllowedDomains | string[] | |
| assistant.embedTheme | json | null | |
| assistant.embedBrandingHidden | boolean | |
| assistant.embedPageContext | json | null | |
| assistant.embedLeadCapture | json | null | |
| assistant.phone | object | |
| assistant.phone.id | string | |
| assistant.phone.phoneNumber | string | |
| assistant.phone.friendlyName | string | |
| assistant.phone.countryCode | string | |
| assistant.phone.capabilities | json | |
| assistant.phone.provider | enum: dbel | twilio | ringcentral | telnyx | custom | |
| assistant.phone.verificationStatus | enum: unverified | verified | failed | |
| assistant.bases | object[] | |
| assistant.bases[].id | string | |
| assistant.bases[].name | string | |
| assistant.functions | object[] | config is read server-side to derive smsDependency and is never returned — a custom function's config can carry request headers. |
| assistant.functions[].id | string | |
| assistant.functions[].name | string | |
| assistant.functions[].type | enum: transfer | book | sms | info | evaluate | custom | |
| assistant.functions[].smsDependency | enum: required | optional | none | |
| assistant.canEdit | boolean | |
| assistant.callVariables | object[] | |
| assistant.callVariables[].name | string | |
| assistant.callVariables[].required | boolean | |
| assistant.callVariables[].fallback | string | null |
Errors
Problem Details (RFC 9457). Each code links to its reference page.
- 404 ASSISTANT_NOT_FOUND_OR_UNAUTHORIZED — Assistant not found or you do not have access.
- 400 INVALID_ASSISTANT_ID — The assistantId is missing or invalid.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 500 UNKNOWN_ERROR — An unexpected server error occurred. Please try again later.
Plus the auth-layer codes every endpoint can return
- 401 UNAUTHENTICATED — Authentication required.
- 403 EMAIL_NOT_VERIFIED — Your email address is not verified.
- 401 INVALID_USER — The authenticated user is invalid or missing.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
- 403 FORBIDDEN — You do not have permission to access this resource.
- 429 RATE_LIMIT_EXCEEDED — Too many requests. Please wait.
PATCH/api/assistants/{assistantId}
Update an assistant. Send only the fields you change.
The workspace owner's plan limits web-widget fields. An embedAllowedDomains list longer than the plan allows answers PLAN_FEATURE_RESTRICTED. On the Free plan, embedBrandingHidden, embedPageContext.enabled and the embedLeadCapture fields save switched off and the answer is still 200 — read the response to see what was saved.
Auth: Bearer token · any workspace member · a MEMBER may act only on rows they created (ADMIN/OWNER on any)
Request body
application/json
outboundVoicemailMessage needs outboundVoicemailEnabled: true in the same body, even when voicemail is already on. With recordingEnabled: false, recordingDisclosureMode, recordingDisclosureText and recordingConsentDeniedBehavior must be absent or null. Turning recording on (recordingEnabled: true on an assistant that was off) with no recordingDisclosureMode key and no stored mode sets EXPLICIT_CONSENT and the default consent question.
| Field | Type | Notes |
|---|---|---|
| name | string | min 1 |
| version | string | |
| llm | enum: GPT_5_4_MINI | GPT_6_LUNA | GPT_5_2 | GPT_5_6_TERRA | GPT_5_4 | |
| llmTemperature | number | min 0, max 1 |
| voiceId | string | |
| voiceName | string | |
| voicePreviewUrl | string | URL |
| voiceStability | number | min 0, max 1 |
| voiceSimilarity | number | min 0, max 1 |
| voiceStyle | number | min 0, max 1 |
| prompt | string | |
| greeting | string | |
| outboundIdentity | string | null | max 160 |
| outboundGreeting | string | null | max 160 |
| outboundVoicemailEnabled | boolean | |
| outboundOptOutOffer | boolean | |
| outboundVoicemailMessage | string | null | max 500 |
| keywords | string[] | |
| timezone | enum: Australia/Sydney | Australia/Melbourne | Australia/Brisbane | Australia/Adelaide | Australia/Darwin | Australia/Perth | Australia/Hobart | America/St_Johns | America/Halifax | America/Toronto | America/Winnipeg | America/Regina | America/Edmonton | America/Vancouver | America/Whitehorse | America/New_York | America/Chicago | America/Denver | America/Phoenix | America/Los_Angeles | America/Anchorage | Pacific/Honolulu | America/Puerto_Rico | UTC | Europe/London | Europe/Dublin | Europe/Paris | Europe/Berlin | Africa/Johannesburg | Asia/Dubai | Asia/Kolkata | Asia/Singapore | Asia/Tokyo | Pacific/Auckland | America/Mexico_City | America/Sao_Paulo | Etc/GMT+12 | Etc/GMT+11 | Etc/GMT+10 | Etc/GMT+9 | Etc/GMT+8 | Etc/GMT+7 | Etc/GMT+6 | Etc/GMT+5 | Etc/GMT+4 | Etc/GMT+3 | Etc/GMT+2 | Etc/GMT+1 | Etc/GMT-1 | Etc/GMT-2 | Etc/GMT-3 | Etc/GMT-4 | Etc/GMT-5 | Etc/GMT-6 | Etc/GMT-7 | Etc/GMT-8 | Etc/GMT-9 | Etc/GMT-10 | Etc/GMT-11 | Etc/GMT-12 | Etc/GMT-13 | Etc/GMT-14 | Asia/Tehran | Asia/Kabul | Asia/Kathmandu | Asia/Yangon | Australia/Eucla | Australia/Lord_Howe | Pacific/Chatham | |
| transcriptEnabled | boolean | |
| recordingEnabled | boolean | |
| recordingDisclosureMode | enum: NOTICE_ONLY | EXPLICIT_CONSENT | null | |
| recordingDisclosureText | string | null | max 500 |
| recordingConsentDeniedBehavior | enum: CONTINUE_WITHOUT_RECORDING | HANGUP | null | |
| webhookUrl | string | null | URL, max 2048 |
| embedEnabled | boolean | |
| embedMode | enum: POPUP | INLINE | |
| embedAllowedDomains | string[] | |
| embedTheme | object | |
| embedTheme.accentColor | string | matches ^#[0-9a-f]{6}$ |
| embedTheme.theme | enum: light | dark | system | |
| embedTheme.icon | string | null | URL |
| embedTheme.position | enum: bottom-right | bottom-left | top-right | top-left | |
| embedTheme.headerText | string | max 40 |
| embedTheme.idlePrompt | string | max 60 |
| embedBrandingHidden | boolean | |
| embedPageContext | object | |
| embedPageContext.enabled * | boolean | |
| embedPageContext.layers * | (enum: metadata | content | interactions | annotations)[] | |
| embedPageContext.selector | string | max 200 |
| embedPageContext.maxChars | integer | min 500, max 12000 |
| embedPageContext.maxItems | integer | min 1, max 100 |
| embedPageContext.maxEvents | integer | min 0, max 50 |
| embedLeadCapture | object | |
| embedLeadCapture.name * | enum: off | optional | required | |
| embedLeadCapture.email * | enum: off | optional | required | |
| embedLeadCapture.phone * | enum: off | optional | required | |
| embedLeadCapture.heading | string | max 120 |
| embedLeadCapture.submitLabel | string | max 40 |
| connectFunctionIds | string[] | |
| connectKnowledgeIds | string[] | |
| connectPhoneId | string | |
| disconnectFunctionIds | string[] | |
| disconnectKnowledgeIds | string[] | |
| disconnectPhoneId | string |
Responses
200 JSON body:
| Field | Type | Notes |
|---|---|---|
| assistant | object | |
| assistant.id | string | |
| assistant.name | string | |
| assistant.version | string | |
| assistant.createdAt | datetime | |
| assistant.updatedAt | datetime | |
| assistant.greeting | string | |
| assistant.outboundIdentity | string | null | |
| assistant.outboundGreeting | string | null | |
| assistant.outboundVoicemailEnabled | boolean | |
| assistant.outboundVoicemailMessage | string | null | |
| assistant.outboundOptOutOffer | boolean | |
| assistant.llm | enum: GPT_5_4_MINI | GPT_6_LUNA | GPT_5_2 | GPT_5_6_TERRA | GPT_5_4 | |
| assistant.prompt | string | |
| assistant.keywords | string[] | |
| assistant.recordingEnabled | boolean | |
| assistant.recordingDisclosureMode | enum: NOTICE_ONLY | EXPLICIT_CONSENT | null | |
| assistant.recordingDisclosureText | string | null | |
| assistant.recordingConsentDeniedBehavior | enum: CONTINUE_WITHOUT_RECORDING | HANGUP | null | |
| assistant.timezone | string | |
| assistant.transcriptEnabled | boolean | |
| assistant.llmTemperature | number | |
| assistant.voiceSimilarity | number | |
| assistant.voiceStability | number | |
| assistant.voiceStyle | number | |
| assistant.voiceId | string | |
| assistant.voiceName | string | |
| assistant.voicePreviewUrl | string | |
| assistant.webhookUrl | string | null | |
| assistant.embedEnabled | boolean | |
| assistant.embedMode | enum: POPUP | INLINE | |
| assistant.embedAllowedDomains | string[] | |
| assistant.embedTheme | json | null | |
| assistant.embedBrandingHidden | boolean | |
| assistant.embedPageContext | json | null | |
| assistant.embedLeadCapture | json | null |
Errors
Problem Details (RFC 9457). Each code links to its reference page.
- 404 ASSISTANT_NOT_FOUND_OR_UNAUTHORIZED — Assistant not found or you do not have access.
- 404 FUNCTION_NOT_FOUND_OR_UNAUTHORIZED — Function not found or you do not have access.
- 403 INSUFFICIENT_PRIVILEGES — You do not have sufficient privileges to edit this resource.
- 400 INVALID_ASSISTANT_ID — The assistantId is missing or invalid.
- 400 INVALID_REQUEST_BODY — The request body is invalid.
- 404 KNOWLEDGE_NOT_FOUND_OR_UNAUTHORIZED — Knowledge base not found or you do not have access.
- 404 PHONE_NOT_FOUND_OR_UNAUTHORIZED — Phone not found or you do not have access.
- 402 PLAN_FEATURE_RESTRICTED — This feature is not available on your current plan. Please upgrade.
- 422 SMS_CAPABILITY_REQUIRED — This assistant's phone number does not support SMS. Attach an SMS-capable number first.
- 500 UNKNOWN_ERROR — An unexpected server error occurred. Please try again later.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
Plus the auth-layer codes every endpoint can return
- 401 UNAUTHENTICATED — Authentication required.
- 403 EMAIL_NOT_VERIFIED — Your email address is not verified.
- 401 INVALID_USER — The authenticated user is invalid or missing.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
- 403 FORBIDDEN — You do not have permission to access this resource.
- 429 RATE_LIMIT_EXCEEDED — Too many requests. Please wait.
DELETE/api/assistants/{assistantId}
Soft-delete an assistant. Its phone number, functions, knowledge bases and SIP trunk links are detached in the same step. Its calls stay in the call list, and fetching one by id answers it with assistant: null.
Auth: Bearer token · any workspace member · a MEMBER may act only on rows they created (ADMIN/OWNER on any)
Responses
204 No body.
Errors
Problem Details (RFC 9457). Each code links to its reference page.
- 404 ASSISTANT_NOT_FOUND_OR_UNAUTHORIZED — Assistant not found or you do not have access.
- 403 INSUFFICIENT_PRIVILEGES — You do not have sufficient privileges to edit this resource.
- 400 INVALID_ASSISTANT_ID — The assistantId is missing or invalid.
- 500 UNKNOWN_ERROR — An unexpected server error occurred. Please try again later.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
Plus the auth-layer codes every endpoint can return
- 401 UNAUTHENTICATED — Authentication required.
- 403 EMAIL_NOT_VERIFIED — Your email address is not verified.
- 401 INVALID_USER — The authenticated user is invalid or missing.
- 400 INVALID_WORKSPACE_ID — The workspace is missing or invalid.
- 404 WORKSPACE_NOT_FOUND_OR_UNAUTHORIZED — Workspace not found or you do not have access.
- 403 FORBIDDEN — You do not have permission to access this resource.
- 429 RATE_LIMIT_EXCEEDED — Too many requests. Please wait.