Create and publish voice agents, purchase and manage phone numbers, retrieve calls and recordings, inspect quality audits, run outbound campaigns, and receive signed events when processing finishes.
Create an API key in Settings → Development. Send it as a Bearer token on every request. A key belongs to one workspace and is shown only once when it is created.
Granular scopes
Grant only the permissions an integration needs. Scope checks are performed independently for every operation.
agents:readRead agents
agents:writeCreate and update agent drafts
agents:publishPublish agent drafts
phone_numbers:readRead phone numbers
phone_numbers:writeSearch, purchase, and release numbers
calls:readRead calls, transcripts, and analysis
recordings:readDownload recordings
quality:readRead quality audits
outbound:readRead campaigns, audiences, plans and monitoring
outbound:writeImport mailings, manage plans and operate campaigns
Never expose an API key in browser code, mobile applications, public repositories, logs, or support screenshots. Revoke a key immediately if it is disclosed.
Core concepts
Responses and errors
JSON properties use camelCase. Enum values returned by the API use lower camel case. Send Content-Type: application/json whenever a request has a JSON body.
Error response
{
"code": "validation_error",
"message": "Complete the required agent fields."
}
200Request succeeded
201Resource created
204Succeeded with no body
400Invalid input or query
401Missing, invalid, or revoked key
403Scope missing or workspace inactive
404Resource not found
409State or ownership conflict
500Unexpected server error
Error codes
code
HTTP status
Meaning
validation_error
400
The request body, path, date range, or query is invalid.
unauthorized
401
The Bearer token is missing, malformed, invalid, or revoked.
forbidden
403
The key does not contain the required scope, or its workspace is not active.
not_found
404
The resource does not exist in the key's workspace.
conflict
409
The state change cannot be completed, for example because a number is assigned.
internal_error
500
An unexpected error occurred.
Integration guide
Runtime variables
Built-in system variables
Use these read-only values directly in an agent's greeting and instructions, including agents created or updated through the API. No variable registration, contact/mailing mapping, or SIP header is needed. In the app, the Behavior → System variables catalog provides descriptions and copy buttons; typing {{ also opens autocomplete.
Token
Value at call start
{{greeting}}
Time-based opening in the agent's language: morning 06:00–11:59, afternoon 12:00–17:59, evening/night 18:00–05:59. For Portuguese: Bom dia, Boa tarde, Boa noite.
{{current_date}}
Local date in the workspace's configured date format.
{{current_time}}
Local time in 24-hour HH:mm format.
{{weekday}}
Day of the week in the agent's language.
{{agent_name}}
Name of the agent handling the call.
{{customer_phone}}
Incoming caller or outgoing customer destination number; empty when unavailable.
{{campaign_name}}
Outbound campaign name; empty outside campaigns.
Incoming calls use the workspace time zone. Campaigns use the destination DDD/area-code time zone from the dialing schedule (including daylight saving); if multiple zones apply, the first mapped zone is used for these values, while dialing eligibility still checks all zones. The campaign time zone is the fallback when no destination zone is available. Values are fixed at call start and saved with the call, so subsequent analysis uses the original context.
System greeting (Portuguese agent)
{ "greeting": "{{greeting}}, sou {{agent_name}}. Posso falar com {{name}}?" }
{{name}} in this example remains a custom variable and must be configured and mapped. System names are reserved for new definitions. Existing custom variables with a system name keep their original mappings and take precedence; the app indicates the conflict. Review and remove those mappings/definitions before using the automatic value.
Custom SIP variables
Personalize an inbound SIP call with values supplied by your dialer, such as the customer's name, debt amount, discount, or due date. Voxiomni validates the configured headers before the agent starts and makes the values available to both Standard and Premium agents through the same {{variable_name}} syntax.
1. Define the variables
In the Voxiomni app, open Settings → Variables, select SIP trunk, and add each value the dialer will send. Enter only the header suffix; Voxiomni always adds the reserved X-Voxiomni-Param- prefix.
Field
Example
Behavior
Variable name
customer_name
Used in prompts as {{customer_name}}. Use lowercase letters, numbers, and underscores, beginning with a letter.
Header suffix
Customer-Name
Produces the complete SIP header X-Voxiomni-Param-Customer-Name. Use letters, numbers, and hyphens.
Data type
text
Controls validation and normalization before the value reaches the agent.
Required
true
If the header is absent or blank, Voxiomni rejects the call before connecting the voice provider.
Default value
0.00
Used only when an optional header is absent. A required variable cannot also have a default.
Sensitive
true
Classifies the field in the historical call context. The effective value, header, and type are retained with the call for troubleshooting.
Configuration limits
A workspace can define up to 30 variables. Names and header suffixes must be unique, and each runtime value can contain up to 256 characters.
2. Send the headers in the SIP INVITE
Send one X-Voxiomni-Param-* header for each configured value. Header names are matched without case sensitivity, but using the exact spelling shown in Settings makes troubleshooting easier.
SIP INVITE headers
X-Voxiomni-Param-Customer-Name: Maria Silva
X-Voxiomni-Param-Debt-Amount: 960.00
X-Voxiomni-Param-Discount-Percent: 15
X-Voxiomni-Param-Due-Date: 2026-10-31
Voxiomni forwards only variables explicitly configured for the workspace. Keep the combined encoded custom-header portion below 1,024 characters.
3. Use variables in the agent
Open the agent's greeting or prompt and insert variables from the variable catalog, or type {{ to use autocomplete. For example:
Greeting and prompt
Hello {{customer_name}}. I am calling about the amount of {{debt_amount}} reais,
due on {{due_date}}. The available discount is {{discount_percent}} percent.
Saving and publishing validate every expression. A malformed expression or a name that is neither a built-in system variable nor a configured custom variable blocks the operation. When a variable definition is changed or removed, Voxiomni also checks every draft and published agent so existing prompts cannot be broken silently.
Accepted value formats
Type
Accepted input
Example
text
Text without control characters
Maria Silva
integer
Whole number
15
decimal
Decimal using a dot or comma
12.5 or 12,5
currency
Decimal using a dot or comma; normalized to two decimal places
960.00
boolean
true, false, 1, 0, yes, no, sim, or não
true
date
ISO calendar date
2026-10-31
dateTime
ISO 8601 date and time, preferably with an offset
2026-10-31T14:30:00-03:00
Test before production
Place one call with all headers, one without each optional header, and one without a required header. Confirm number, currency, and date pronunciation in the agent language before enabling the campaign.
API reference
Agents
Agent changes are saved as a draft. Creating or updating an agent does not make the draft live; call the publish operation after the draft is ready. Use operationMode: inbound for agents that receive calls and operationMode: outbound for campaign agents. Inbound number associations use phoneNumberIds; outbound agents leave this collection empty and choose the origin in the campaign. Omitted mode defaults to inbound on create and preserves the current mode on update. Existing agents remain inbound until explicitly changed and published.
GET/agentsagents:read
List agents
Returns every agent in the authenticated workspace. No query parameters are accepted.
Returns only the optional business objective and the stable indicator keys used in calls, reports, and integrations. Keys are generated automatically by the product UI; API clients can use them without exposing technical fields to agent creators.
Indicators also support optional essential (default true) to prioritize missing information in human assistance. It does not change types, aggregations or define success by itself. Live assistance is tenant-gated and provisional; final campaign results still come from post-call analysis. Existing clients may omit this field and the entire optional objective.
200 OKAn object containing agentId and nullable objective.
After a successful create, call POST /agents/{agentId}/publish before expecting production calls to use this configuration.
Errors:400 for missing required fields, invalid quality settings, or foreign workspace IDs; 409 if a selected number belongs to another agent.
PUT/agents/{agentId}agents:write
Replace an agent draft
Replaces the draft configuration. This is a full update, not a patch: send every required field and every association that must remain. Omitting an optional collection clears it.
Reviews an unsaved complete agent configuration and suggests structured business indicators from its optional objective. It also returns prompt compatibility issues. This operation does not save anything.
For multiple objectives, add objective.goals: each item has a stable id, name, description, and fields containing existing indicator key references and an essential flag. Keep one shared indicator for the same information used by several objectives. An optional indicator variableId links an existing tenant variable by identity; original values and captured results remain distinct. For example, a permitted installment count never becomes the agreed count automatically.
Each objective is evaluated independently from conversation evidence. Complete information does not by itself prove success. Final results include analysis.objective.goals with individual success, summary and evidence; indicators are returned once, preserving reporting keys and aggregations. The existing overall success field remains available. Clients can omit goals and continue using the single-objective API.
200 OKAn objective assessment containing compatible, summary, issues, and suggestedIndicators.
Errors:400 when the agent write object or objective is invalid.
POST/agents/prompt/reviewagents:write
Review prompt logic and objective compatibility
Checks an unsaved complete agent configuration. Logical contradictions in the greeting or instructions are reviewed even without an objective. Optional objective compatibility is checked separately. This operation does not save anything.
200 OKcompatible is false when the same configuration would be rejected during publication.
Each issue identifies its scope as prompt or objective. When a safe textual fix exists, suggestedChange returns the exact oldText, editable newText, and an explanation. Your application decides whether to apply it.
POST /agents/objective/review remains available as a backward-compatible alias.
POST/agents/{agentId}/publishagents:publish
Publish an agent draft
Promotes the current draft to production and applies its phone number routing. The prompt must have no blocking logic issues; when an objective is configured, its indicators and capabilities must also be compatible. This request has no body.
curl -X POST \
https://api.voxiomni.com/api/v1/agents/agent_8d41f3d4f6324af2b77b3b183f923f4c/publish \
-H "Authorization: Bearer $VOXIOMNI_API_KEY"
Errors:400 when the prompt or optional objective has blocking issues; 404 if the agent does not exist; 409 if a selected number is no longer available.
API reference
Phone numbers
Search and purchase Voxiomni numbers, inspect workspace numbers, and release numbers that are no longer assigned. Custom routing configuration is not exposed in API v1.
GET/phone-numbersphone_numbers:read
List owned phone numbers
Returns all phone numbers owned by the workspace, sorted by number.
Errors:400 for a missing ID, foreign workspace agent, or inactive agent; 404 if the billing wallet is unavailable; 409 for insufficient balance or changed inventory.
Errors:404 if it does not exist; 409 if still assigned.
API reference
Calls
Read calls and post-processing results. Calls are retained for 90 days. A request may cover at most 90 days; when dates are omitted, the API returns the latest 30-day window.
Transcription and analysis are separate stages
When a call requires recording-based Azure Speech transcription, new recordings use Fast Transcription after the recording becomes available. Existing provider transcripts are reused where supported. This is post-call processing, not a live transcript, and completion time depends on recording availability, provider processing and retries.
Check transcription.status and analysis.status independently. A completed transcript can be available while analysis, business objectives and indicators are still pending; analysis remains a separate batch stage. Call status: completed means the telephone call ended, not that its results are ready. Use the existing call.processed webhook for final post-call results. Response fields, status values and webhook contracts are unchanged.
Responses include currency and cost. AI usage (cost.voice) and outbound connectivity (cost.telephony) are separate. Costs are finalized after provider-confirmed completion; cost.telephonyPerMinute, cost.telephonyMinimumSeconds and cost.telephonyIncrementSeconds describe the frozen telephone tariff. Changing tariffs affects future dials only. AI uses 10-second increments; telephony follows its own minimum and increment.
GET/callscalls:read
List calls
Query parameter
Type
Required
Default
Description
from
date-time
No
30 days before to
Inclusive beginning, ISO 8601.
to
date-time
No
Current UTC time
Exclusive end, ISO 8601.
customerPhone
string
No
—
Filter by caller/customer number.
agent
string
No
—
Filter by agent name. Use agentId for an exact identifier.
agentId
string
No
—
Exact agent ID.
direction
enum
No
—
inbound or outbound.
campaignId
string
No
—
Exact outbound campaign ID; cannot be combined with Inbound.
goalId
string
No
—
Objective ID from the call snapshot. Requires agentId. Older single objectives use legacy.
goalSchemaId
string
No
—
Optional identifier for the exact historical objective definition. Requires goalId.
goalStatus
enum
No
—
achieved, notAchieved, pending, failed, indeterminate, or excluded. Requires goalId.
analysisStatus
enum
No
—
pending, processing, completed, or failed.
outcome
enum
No
—
unresolved, resolved, transferred, outsideBusinessHours, or callbackScheduled.
page
integer
No
1
Must be greater than zero.
pageSize
integer
No
50
Must be between 1 and 50.
Filters combine with AND. Objective filters preserve the definition used in each call, so later edits do not change historical outcomes. Pending analysis, failed analysis and indeterminate evaluations are separate from unsuccessful objectives. Calls outside business hours, missed calls and failed connections are excluded from objective effectiveness. A transfer to a human does not imply failure; the final result describes the whole conversation. If historical preparation is still running, goal-filtered requests return 409; retry later. Ordinary history searches remain available.
200 OKA CallPage with items, total, page, pageSize, and totalPages.
Errors:400 for an invalid range, interval longer than 90 days, unknown filter value or incompatible filters; 409 while historical objective results are being prepared.
GET/calls/{callId}calls:read
Retrieve a call
Returns one call including recording state, transcription state, transcript, analysis, and quality state.
Looks up an audit by call ID and returns the audit, associated transcript, and recording availability.
Path parameter
Type
Required
Description
callId
string
Yes
The call ID, not the audit's own id.
200 OKAn object with audit, transcript, and recordingAvailable.
Response JSON
{
"audit": {
"id": "audit_2c7076aa",
"callId": "call_748cfe8c",
"resource": "/api/v1/quality-audits/call_748cfe8c",
"agentId": "agent_8d41f3d4f6324af2b77b3b183f923f4c",
"agentName": "Collections assistant",
"caller": "+5511999999999",
"callStartedAt": "2026-10-11T18:30:00Z",
"callDurationSeconds": 134,
"status": "completed",
"score": 96,
"summary": "The required identity check was completed.",
"improvementSuggestion": "Repeat the due date before closing.",
"findings": [{
"criterionId": "criterion_identity",
"criterionName": "Confirm identity",
"severity": "critical",
"verdict": "passed",
"explanation": "The customer confirmed their identity.",
"confidence": 0.98,
"evidence": [{ "timestamp": "00:00:03", "speaker": "customer", "quote": "Yes, this is Carlos." }],
"review": null
}],
"error": null,
"completedAt": "2026-10-11T18:34:00Z",
"reviewStatus": "pending",
"reviewedAt": null
},
"transcript": [
{ "id": "msg_1", "role": "agent", "speaker": "Agent", "text": "May I speak with Carlos?", "timestamp": "00:00:00" },
{ "id": "msg_2", "role": "customer", "speaker": "Customer", "text": "Yes, this is Carlos.", "timestamp": "00:00:03" }
],
"recordingAvailable": true
}
Errors:404 when no audit exists for the call.
API reference
Outbound campaigns
The public outbound API uses the same preparation, recording, retry, schedule and state-transition rules as the app. All paths below are relative to https://api.voxiomni.com/api/v1. Create a key with outbound:read to inspect data and outbound:write to import or operate. Existing keys do not gain these permissions automatically.
Creating a campaign starts its workflow.
There is no draft step. A campaign can place billable calls as soon as preparation finishes unless startsAt is in the future. Do not blindly retry campaign creation after a timeout; reconcile against the campaign list first.
All operations require Bearer authentication. Invalid inputs return 400, a missing permission returns 403, resources outside the key's workspace are not accessible, and invalid state transitions return 409. Full request and response schemas are included in the OpenAPI download.
1. Choose and validate the audience
Read GET /outbound/contact-schema for contact fields. Use each field's id in filters and phoneFieldIds — not its label or key. Contact fields and import layouts are configured and published in the app; GET /outbound/layouts lists the available layouts.
For contacts, call POST /outbound/campaigns/contact-audience/preview. Send an empty contactFilters array to use all contacts. all combines rules with AND; any combines them with OR. Operators: equals, notEquals, contains, startsWith, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, isEmpty, isNotEmpty. Values are strings interpreted using the field type.
The response is { "totalRecords": 1250 }. This counts matching contacts, not necessarily callable numbers. Preparation checks the selected phone fields.
2. Import a mailing when needed
For a mailing source, first preview the CSV, inspect canImport, then submit the same file with expectedRows set to preview totalRows. Both operations use multipart fields layoutId and file; import also accepts name and expectedRows. The actual file is counted on the server: at most 200,000 data rows, excluding the header, even if the caller omits or understates the count.
Import returns 201 with a queued mailing. Read GET /outbound/mailings for status, imported and rejected rows, row errors and expiration. Status values: queued, processing, completed, completedWithErrors, failed, retrying, deleting, deleteFailed. Only finished lead mailings can feed a campaign. Deletion returns 202 and runs asynchronously; reconcile the list to confirm completion.
3. Configure reusable dialing plans
Read GET /outbound/retry-plans/catalog, then create a named plan containing every catalog group and item. Each group has key, maxOccurrences (1–100), delaySeconds (1–604800), and items. Each item requires id, enabled, maxOccurrences, and delaySeconds. Item limits cannot exceed the group limit. Counts belong to the group, not individual release codes. Q.850/SIP mappings and bilingual descriptions come from the catalog, not caller overrides.
For dialing schedules, read GET /outbound/dialing-schedules/catalog and create { name, countryCode, regions } with country BR or US. Each region has its catalog code, enabled, and seven days. Each day has day, enabled, startMinute, and endMinute (0–1439, start ≤ end). Region area codes are derived from the catalog. Dialing uses the destination area code's local time; only enabled configured regions and days are allowed. These outbound windows do not cross midnight.
Plan names have 2–120 characters. PUT replaces the entire plan. Plans have no version copies: changes affect subsequent dialing decisions of campaigns already using them. A plan in active use cannot be deleted. Schedule configuration is the operator's responsibility; there is no hidden legal-hours clamp.
For contacts, change source to contacts, omit mailingId, and include contactFilterMatch and contactFilters. Phone fields are ordered by their position in phoneFieldIds (1–20 fields). Mailing phone fields must be mapped by the chosen layout. vertical works through a person's phones before moving on; horizontal works across the audience by phone priority.
The agent must be published, active, support outbound, and have recording enabled. The published agent must have operationMode: outbound. The origin is an owned Voxiomni or call-forwarding number, active or reserved. It can already be assigned to another inbound agent: incoming calls keep that agent, while the campaign uses its selected outbound agent. Simultaneous calls: 1 or 2. Use an ISO 8601 startsAt including its UTC offset to schedule, or omit it to start immediately. timeZone defaults to America/Sao_Paulo; destination dialing windows still use area-code local time.
Campaign states: draft (historical), preparing, scheduled, running, paused, completed, cancelled, failed. Use /start to resume, /pause to pause, and /cancel to cancel, subject to state checks.
5. Monitor and reconcile without full-base polling
GET /outbound/campaigns/{campaignId}/monitoring returns campaign, state, nextActionAt, status totals, production, objective/business indicators in business, the materialized callbacks summary, a page of attempts, continuationToken, and refreshedAt. Refresh no more often than every 15 seconds; summaries may be cached for that interval.
Monitoring states distinguish preparing, scheduledStart, waitingSchedule, waitingRetry, waitingCallback, dispatching, active, paused, completed, cancelled, failed, and idle. Attempt filters accept pending, dispatching, initiated, ringing, inProgress, completed, busy, noAnswer, failed, cancelled. The filter applies to the detailed attempt page, not aggregate totals.
Both monitoring and GET /outbound/campaigns/{campaignId}/callbacks accept pageSize (1–100, default 50) and an opaque continuationToken. Keep filters unchanged while paging. Open callback details only when needed: items contain person, phone, scheduled instant, time zone, original/latest customer phrases and reschedule count; a null cursor ends the list.
Use call.processed webhooks for complete call results. Public calls and call events include outboundCampaignId, outboundAttemptId, callbackScheduledAt and callbackRequestText. Objectives remain optional; objective success and its indicators are exposed in analysis.objective.
Data models
Agent models
Agent write object
This complete object is required by both POST /agents and PUT /agents/{agentId}. Optional fields use the documented defaults.
The optional saved objective and its business indicators.
phoneNumberIds
string[]
Associated number IDs.
phoneNumbers
string[]
Formatted associated numbers.
knowledgeSources, toolIds, structuredDataSources
arrays
Saved workspace resource associations.
recording, businessHours, advanced, quality
objects
Normalized versions of the corresponding write objects.
published
boolean
Whether a production version exists; it does not mean the latest draft is published.
updatedAt
date-time
Last draft or publish update.
Email reports after service
The optional emailReport setting is disabled by default. Enable it on the agent, set up to 10 recipient addresses and choose all, transferred or objectiveNotAchieved. The last condition requires an objective and matches only a completed analysis with success: false; an unknown result does not match.
Include this field in the complete agent create/update body. Save and publish to apply it to new calls. Each call captures the published configuration at its start. Omitting or setting emailReport to null on PUT disables it in the replacement draft; existing integrations can continue to omit it.
Reports are sent after post-processing, with all available service details, summary, outcome, objective and indicators, next steps and full transcript. The same content is attached as a text file. Terminal processing failures produce a report marked as partial. Each recipient gets an individual email.
The logo, display name, colors and portal link follow the published tenant brand, then the partner brand, then Voxiomni. An email from a branded portal without a logo uses the brand name instead of the Voxiomni logo. The sender address stays on the platform's verified email domain; a configured support address is used for replies.
Delivery runs independently in a queue. Repeated completion events and manual call reprocessing do not resend an already sent report. Definite provider rejections are retried; uncertain delivery after a timeout is retained for investigation instead of automatically sending a possible duplicate. The portal link requires authentication.
Controlled pilot
Human attendance in the browser
The optional humanHandoff agent setting enables transfers to an available workspace user in the Voxiomni attendance screen. It defaults to disabled and requires explicit tenant enablement, Premium voice, recording, and publication. The pilot supports incoming calls on platform-owned numbers. It does not dial the legacy transferNumber.
Set enabled to true and ringTimeoutSeconds to an integer between 10 and 40 (default 25), inside a complete agent create/update request. An accepted operator must join the audio bridge before the caller leaves the AI. If nobody accepts, the AI continues assisting. Browser availability uses the signed-in user's session; API credentials cannot impersonate operators or obtain browser voice tokens.
Call responses include optional humanAttendance data with the reason, summary, operator, connection timestamp and durations. Waiting time overlaps AI time. AI billing ends at the human connection; a separate human rate is not enabled during this controlled pilot. The original call remains the recording and processing identity through the transfer. Mobile delivery and outbound transfer are outside this pilot.
Integration guides
Conversation memory
Use the optional conversationMemory object on agent create and update requests to give the agent bounded context from previous calls. Calls linked to a contact use that contact's history across inbound and outbound calls in the same workspace. An explicit campaign contact or lead takes precedence over phone matching. Otherwise, the normalized customer number must match exactly one contact across its phone fields; ambiguous matches and unavailable identity lookups do not load memory. The normalized configuration is returned in agent responses.
Property
Rules
enabled
Boolean; defaults to false. Requires recording.enabled: true when enabled. Omitting or sending null for the object keeps memory disabled. Existing integrations do not need to send it.
includeOtherAgents
Boolean; defaults to false. When enabled, verified contact or campaign lead history can include other agents in the same workspace. Phone-only history remains limited to the current agent. This option does not enable memory on its own.
maxPreviousCalls
Integer from 1 to 10; defaults to 3. Maximum recent calls with available context to include.
lookbackDays
Integer from 1 to 90; defaults to 30. This is the history lookup window, not the recording retention period or a promise to delete the call history at that time.
This example is a configuration fragment: include the other required fields in a complete agent request. Save the draft and publish to apply the setting to future calls. Recorded, completed calls linked to a verified contact or campaign lead can build history once a transcript is available, even when that agent does not use memory. Reading that history into a new call remains opt-in. Without a linked contact or lead, new phone-only history is captured only when memory is enabled and remains scoped to the same agent. Hidden or unavailable numbers are not matched automatically.
Existing calls are not linked or backfilled by guessing from their phone numbers. Different contacts or campaign leads that share a number remain separate. A full replacement request that omits conversationMemory disables memory for new calls.
Context becomes available after the previous transcript is saved, without waiting for final business analysis. It is not a live transcript: recording availability and transcription can still delay a quick redial. The agent must ask where to resume when context is missing rather than invent prior details. No additional real-time carrier transcription is enabled automatically.
A phone number may be shared and is not authentication. Before disclosing sensitive information, follow the identity verification configured in the current prompt. History is context, not new instructions or proof that an agreement is still valid, an action was executed, or a payment was received. Current instructions and current business data take precedence.
Integration guides
Agent business hours
Send the optional businessHours object when creating or replacing an agent. It is disabled by default. The incoming-call gate uses the workspace time zone; a configured holiday takes priority over weekly hours. Save the agent to synthesize both messages with the selected agent voice, then publish to apply the settings to production calls.
Property
Rules
enabled
Boolean; defaults to false.
days
When enabled, configure each weekday exactly once and enable at least one. Weekdays: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If omitted, defaults to weekdays 09:00–18:00 and weekends disabled.
days[].startMinute, endMinute
Minutes after local midnight, from 0 to 1439. An end earlier than the start crosses midnight; equal times are invalid for enabled days.
holidays
Up to 100 entries with name (1–120 characters) and unique date (YYYY-MM-DD). id is generated when omitted.
afterHoursMessage, holidayMessage
Both required when enabled, up to 1,000 characters each. The matching recording is played and the call is disconnected.
businessHours example
{
"enabled": true,
"days": [
{ "day": "sunday", "enabled": false, "startMinute": 540, "endMinute": 1080 },
{ "day": "monday", "enabled": true, "startMinute": 540, "endMinute": 1080 },
{ "day": "tuesday", "enabled": true, "startMinute": 540, "endMinute": 1080 },
{ "day": "wednesday", "enabled": true, "startMinute": 540, "endMinute": 1080 },
{ "day": "thursday", "enabled": true, "startMinute": 540, "endMinute": 1080 },
{ "day": "friday", "enabled": true, "startMinute": 540, "endMinute": 1080 },
{ "day": "saturday", "enabled": false, "startMinute": 540, "endMinute": 1080 }
],
"holidays": [{ "name": "New Year", "date": "2027-01-01" }],
"afterHoursMessage": "Our office is closed. Please call again during business hours.",
"holidayMessage": "Our office is closed for the holiday. Please call again on the next business day."
}
These calls return outcome: outsideBusinessHours and do not count as bot-resolution failures. callbackScheduled is a separate result for confirmed customer-requested callbacks; use its structured callback fields rather than inferring a date from the summary.
Data models
Enums and supported values
Send enum values exactly as shown. JSON enums use lower camel case unless a field is explicitly marked as case-sensitive.
Agent models and compatible voices
The public API exposes Voxiomni's commercial tiers only. Send and receive one of the two model values below; internal implementation identifiers are not part of the public contract.
resolved, partiallyResolved, unresolved, or unknown.
analysis.nextSteps[]
object[]
owner (customer, company, agent, unknown), action, and nullable dueDate.
analysis.objective
object | null
When the agent had an objective at call start: nullable success, summary, 0–1 confidence, and one extracted value per configured indicator with its evidence.
transcript[]
object[]
id, role, speaker, text, and timestamp.
quality
object
selected, status, nullable score, and nullable completedAt.
outboundCampaignId, outboundAttemptId
string | null
Native campaign and attempt correlation. Null for calls outside campaigns.
callbackScheduledAt
date-time | null
Confirmed callback instant, including its UTC offset.
callbackRequestText
string | null
Original customer wording requesting the callback.
processedAt
date-time | null
When all post-call processing finished.
Data models
Quality models
Property
Type
Description
id, callId, agentId, agentName, caller
string
Audit, call, agent, and caller identity.
callStartedAt
date-time
Start time.
callDurationSeconds
integer
Duration.
status
enum
pending, completed, or failed.
score
integer | null
Overall score from 0 to 100 when completed.
summary
string
Overall audit explanation.
improvementSuggestion
string | null
Suggested coaching action.
findings[]
object[]
One result per criterion.
findings[].severity
enum
low, medium, high, or critical.
findings[].verdict
enum
passed, failed, or notApplicable.
findings[].confidence
decimal
Normally 0–1.
findings[].evidence[]
object[]
timestamp, speaker, and quote.
findings[].review
object | null
decision (confirmed, falsePositive, incorrect), note, reviewer identity, and reviewedAt.
error
string | null
Failure detail.
completedAt
date-time | null
Automatic audit completion time.
reviewStatus
enum
pending or reviewed.
reviewedAt
date-time | null
Human review completion time.
Webhooks
One endpoint, multiple event types
Create an HTTPS endpoint in Settings → Development and select its events. Voxiomni sends an HTTP POST with Content-Type: application/json. Route by type and deduplicate by id.
call.processed contains the complete call, transcript, analysis, and recording download route. Quality events contain the complete audit. Early call events use a compact snapshot because processing is not finished yet.
Acknowledge first.
Verify the signature, persist the event, return a 2xx response quickly, and run heavier work asynchronously.
Webhooks
Verify webhook signatures
Read the exact raw body before JSON parsing. Compute HMAC-SHA256 over {timestamp}.{rawBody} with the endpoint signing secret, then compare the lowercase hexadecimal digest with the value after v1=.
Voxiomni-Event-IdEvent ID for deduplication.
Voxiomni-TimestampUnix timestamp for this attempt.
Reject timestamps outside your tolerance and ignore event IDs already processed.
Webhooks
Event types
call.ended
The call ended. This early event is compact because post-processing may still be pending.
call.processed
All post-call processing finished. The payload contains the complete transcript, analysis, quality state, and recording download route; no polling is required.
call.failed
The call ended in a failed state. The compact snapshot contains every value available at that time.
quality.completed
The payload contains the complete automatic audit, including findings and evidence.
quality.failed
The complete audit payload has status: failed and includes its error.
quality.reviewed
The complete audit includes the final human review decisions.
Call event data
The recording itself is not embedded as Base64. When available, use recording.downloadUrl once with an API key containing recordings:read.
Property
Type
Description
id
string
Call ID.
resource
string
Historical reconciliation route for GET /calls/{callId}.
caller, calledNumber
string
Customer and destination numbers.
agentId, agentName
string
Agent identity.
startedAt
date-time
Call start time.
endedAt
date-time | null
Call end time when available.
durationSeconds
integer
Total duration.
status
enum
inProgress, completed, transferred, missed, or failed.
outcome
enum
unresolved, resolved, transferred, outsideBusinessHours, or callbackScheduled.
summary
string
May be empty until processing completes.
recording
object
State, media metadata, expiration, and an authenticated downloadUrl when available. Download once after receiving the event; polling is unnecessary.
transcript
array
The complete ordered transcript in call.processed.
analysis
object
The complete analysis, including result, sentiment, topics, and next steps.
quality
object
Quality selection and processing state.
outboundCampaignId, outboundAttemptId
string | null
Native campaign and attempt correlation. Null for calls outside campaigns.
callbackScheduledAt
date-time | null
Confirmed callback instant, including its UTC offset.
callbackRequestText
string | null
Original customer wording requesting the callback.
processedAt
date-time | null
Set after post-call processing finishes.
Quality event data
Property
Type
Description
id, callId
string
Audit and call IDs.
resource
string
Historical reconciliation route for GET /quality-audits/{callId}.
agentId, agentName
string
Agent identity.
callStartedAt
date-time
Call start time.
status
enum
pending, completed, or failed.
score
integer | null
Overall score when available.
summary, improvementSuggestion
string
Complete audit summary and recommended improvement.
findings
array
Every criterion result, confidence value, explanation, evidence, and human review.
reviewStatus
enum
pending or reviewed.
completedAt, reviewedAt
date-time | null
Automatic completion and human review timestamps.
Webhooks
Delivery and retries
Delivery is at least once. The same event can arrive more than once, so consumers must be idempotent. Any 2xx response marks success.
Voxiomni retries network failures and HTTP 408, 409, 425, 429, and 5xx. A valid Retry-After header on 429 is honored for up to 24 hours. Other non-2xx responses fail without an automatic retry. Delivery metadata is retained for 7 days. A successfully delivered payload is removed immediately; failed payloads remain available for manual retry during the retention period.
Endpoint requirements
The URL must use HTTPS, resolve only to public IP addresses, and contain no embedded credentials or fragment.