wixzel_voice 0.11.0
wixzel_voice: ^0.11.0 copied to clipboard
Official Dart SDK for the Wixzel Voice API. Build AI agents that place and answer real phone calls over your own SIP trunk, from Dart and Flutter.
0.11.0 - 2026-10-24 #
- Signed-in meeting bots:
SignedInBots,ConnectMeetingIntegration.signedInBots,CreateMeeting.signedInandMeeting.signedIn.ConnectMeetingIntegration.apiKeymay be null to keep the stored key.
0.10.0 - 2026-10-22 #
Meetings.
meetings:retrieveIntegration,connectIntegration,deleteIntegration,create,list,retrieveandleave, with theMeeting,MeetingIntegration,CreateMeetingandConnectMeetingIntegrationmodels.Call.channelcan bemeeting.
0.9.0 - 2026-10-21 #
WhatsApp.
whatsapp:listAccounts,createAccount,retrieveAccount,updateAccount,deleteAccount,refreshAccount,listTemplates,syncTemplates,createTemplate,deleteTemplate,send,listConversations,retrieveConversation,listScheduledandcancelScheduled, with theWhatsAppAccount,WhatsAppTemplate,WhatsAppMessage,WhatsAppConversationandScheduledWhatsAppMessagemodels.UsageComponent.whatsapp, and theApiScope.whatsappReadandApiScope.whatsappWritescopes.
0.8.0 - 2026-10-21 #
Callers: who called your agents, and the blocklist.
callers:list,retrieveandupdate. ACalleris one person who called one agent, by Google sign-in, app account, phone number or browser.listfilters byagentId, andblocked: truegives the blocklist.update(id, UpdateCaller(blocked: true))blocks a caller: they cannot call that agent again from its share link, its website widget, the app, or by phone.UpdateCaller(blocked: false)unblocks them. These use thecallsReadandcallsWritescopes.Call.caller(aCallCaller, or null): name, email, phone,verifiedBy,location,platform,pageUrl, and whether they are blocked now. It is null for outbound calls and API sessions, andCallDetailcarries it too. TheCallandCallDetailconstructors only gain an optionalcaller, so existing code still compiles.calls.listtakescallerId.- The new
CallerKind,CallerVerificationandCallerSourceenums, and theCallerLocationandCallerPlatformmodels. - An agent mascot's
sharingmap can carrycaller_info:none,contactorgoogle. This is what a caller must give before a call through the share link or website widget.
0.7.0 - 2026-10-21 #
Mascots are part of agents. This is a breaking change.
Every agent now has exactly one mascot, as Agent.mascot. The separate
mascot resource is gone from the API, so it is gone from the SDK too.
Removed:
client.mascotsand theMascotsclass, withlist,create,retrieve,update,delete,generate,createAgentandrotatePublicId.- The
Mascot,CreateMascot,UpdateMascotandGenerateMascottypes. - The
mascotsReadandmascotsWritescopes. Mascot calls now needagentsReadandagentsWrite.
Added:
Agent.mascot(anAgentMascot):specandsharingas JSON, pluswelcomeMessage,status,statusDetail,errorCode,errorMessage,sourceType,sourceDescription,sourceUrl,brandColor,siteName,publicIdandupdatedAt, withbuildingandsharedgetters. An answer without amascotstill parses.CreateAgent.mascot(anAgentMascotInputwithspecandwelcomeMessage). Without it the agent gets the default green Wixzel mascot.agents.generate(GenerateAgent)makes an agent from a website, a description, or both, and comes back with the mascotbuilding.agents.updateMascot(id, UpdateAgentMascot)changes the spec, the welcome message (clearWelcomeMessagegoes back to the opening line) or the sharing settings.agents.generateMascot(id, GenerateAgentMascot)gives the mascot a new look and comes back with itbuilding.agents.rotateMascotPublicId(id)gives the mascot a new share id.MascotSourceTypeis kept, now in the agent models.agents.deletedeletes the agent's mascot too.
0.6.0 - 2026-10-20 #
Mascots, tools, and documents in knowledge bases.
-
mascots:list,create,retrieve,update,delete,generate,createAgentandrotatePublicId. A mascot is an animated character with an agent and knowledge base behind it;generatebuilds one on the server and comes back withstatusbuilding. With theMascot,CreateMascot,UpdateMascot,GenerateMascotandMascotSourceTypetypes and themascotsRead/mascotsWritescopes. A mascot'sspecandsharingare kept as JSON.CreateMascottakeswelcomeMessage. -
tools:list,create,retrieve,update,deleteandtest, with theTool,CreateTool,UpdateToolandToolTestResulttypes. -
knowledgeBases.importFromWebsiteandimportFilereturn aKnowledgeBaseDraftwithout saving it;listFiles,addFiles,addFileFromUrl,retrieveFileanddeleteFilemanage the documents agents search during calls.
0.5.0 - 2026-10-09 #
Numbers on a connected carrier account.
sipTrunks.listCarrierNumbers(id)lists the numbers on the carrier account behind a trunk that was connected in one step, asCarrierNumbers.sipTrunks.searchAvailableNumbers(id, country: ..., type: ..., contains: ...)finds numbers the carrier will sell, asAvailablePhoneNumbers with the carrier's own prices in its own currency. It is free.phoneNumbers.purchase(PurchasePhoneNumber(...))buys one on the customer's own carrier account, points it at the trunk and registers it, returning aPurchasedPhoneNumber. The carrier bills the account; Wixzel sells no numbers. AnIdempotency-Keyis generated unless you passidempotencyKey, so a retry never buys twice. It needs the newApiScope.phoneNumbersPurchase.SipTrunkgainscarrierandcanBuyNumbers, and there is aNumberTypeenum.
Cloned voices.
client.voices:list,create,retrieve,preview,updateanddelete, withVoice,VoiceProvider,VoiceSample,CreateVoiceandUpdateVoice. They need the newApiScope.voicesReadandApiScope.voicesWrite.CreateVoice.filessends the recordings asmultipart/form-data;CreateVoice.urlssends public https links as JSON. A sample's media type is read from its first bytes, then from its file extension, when you do not give one. Making a clone charges a one-off fee and takes no idempotency key, so it is not retried on an ambiguous failure.previewreturns the clip as aUint8Listof mp3.UsageComponent.voiceClone.Transportcan send aMultipartBodyand return bytes (requestBytes).http_parseris now a direct dependency; it was already there throughhttp.
0.4.0 - 2026-09-29 #
Renamed from wixzel_phone to wixzel_voice, because the product is called
Wixzel Voice again. The API surface is unchanged.
- Depend on
wixzel_voiceand importpackage:wixzel_voice/wixzel_voice.dart. - The client class is
WixzelVoice. The old name,WixzelPhone, is kept as a deprecated typedef of the same class, so existing code only has to change its import. - The default base URL (
defaultBaseUrl) is nowhttps://api.voice.wixzel.com.https://api.phone.wixzel.comkeeps serving, sowixzel_phone0.3.0 and earlier keep working without a change. - Requests send
User-Agent: wixzel-voice/0.4.0andX-Wixzel-Client: wixzel-voice-dart/0.4.0, and error messages the SDK raises itself beginwixzel_voice:.
0.3.0 #
Realtime: talk to an agent from a Flutter or Dart app, with no SIP trunk.
client.realtime.createSession()withCreateRealtimeSessionandRealtimeSession— server-side. Mints a one-minute, single-use client secret forwss /v1/realtime.RealtimeConnection— the protocol client, overweb_socket_channel:sendAudio, a typedeventsstream (RealtimeStarted,RealtimeAudio,RealtimeAudioClear,RealtimeTranscript,RealtimeWarning,RealtimeError,RealtimeEnded),end()and the close code. Microphone and speaker stay with the app;pcm16ToMulawandmulawToPcm16convert.Call.channel(phoneorweb).- New dependency:
web_socket_channel.
0.2.0 #
Eight operations the published 0.1.0 did not have, which is the whole reason
for a minor rather than a patch: 0.1.0 claimed to cover every /v1 operation
and, as the API grew, stopped doing so.
client.webhooks—retrieve,update,rotateSecret,testanddeliveries, withWebhookEvent,Webhook,UpdateWebhook,WebhookSecretandWebhookDelivery. A singleton, so there is nolist.client.engines.languages()andclient.engines.voices().client.agents.testCall().
0.1.0 #
First release. Every /v1 operation as a typed method, cursor pagination with autoPaging(), automatic idempotency keys on the money paths, retries on rate limits and transient failures, and a WixzelException carrying the API's code, requestId and docUrl.