Skip to main content

wixzel_voice 0.11.0 copy "wixzel_voice: ^0.11.0" to clipboard
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.signedIn and Meeting.signedIn. ConnectMeetingIntegration.apiKey may be null to keep the stored key.

0.10.0 - 2026-10-22 #

Meetings.

  • meetings: retrieveIntegration, connectIntegration, deleteIntegration, create, list, retrieve and leave, with the Meeting, MeetingIntegration, CreateMeeting and ConnectMeetingIntegration models.
  • Call.channel can be meeting.

0.9.0 - 2026-10-21 #

WhatsApp.

  • whatsapp: listAccounts, createAccount, retrieveAccount, updateAccount, deleteAccount, refreshAccount, listTemplates, syncTemplates, createTemplate, deleteTemplate, send, listConversations, retrieveConversation, listScheduled and cancelScheduled, with the WhatsAppAccount, WhatsAppTemplate, WhatsAppMessage, WhatsAppConversation and ScheduledWhatsAppMessage models.
  • UsageComponent.whatsapp, and the ApiScope.whatsappRead and ApiScope.whatsappWrite scopes.

0.8.0 - 2026-10-21 #

Callers: who called your agents, and the blocklist.

  • callers: list, retrieve and update. A Caller is one person who called one agent, by Google sign-in, app account, phone number or browser. list filters by agentId, and blocked: true gives 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 the callsRead and callsWrite scopes.
  • Call.caller (a CallCaller, or null): name, email, phone, verifiedBy, location, platform, pageUrl, and whether they are blocked now. It is null for outbound calls and API sessions, and CallDetail carries it too. The Call and CallDetail constructors only gain an optional caller, so existing code still compiles.
  • calls.list takes callerId.
  • The new CallerKind, CallerVerification and CallerSource enums, and the CallerLocation and CallerPlatform models.
  • An agent mascot's sharing map can carry caller_info: none, contact or google. 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.mascots and the Mascots class, with list, create, retrieve, update, delete, generate, createAgent and rotatePublicId.
  • The Mascot, CreateMascot, UpdateMascot and GenerateMascot types.
  • The mascotsRead and mascotsWrite scopes. Mascot calls now need agentsRead and agentsWrite.

Added:

  • Agent.mascot (an AgentMascot): spec and sharing as JSON, plus welcomeMessage, status, statusDetail, errorCode, errorMessage, sourceType, sourceDescription, sourceUrl, brandColor, siteName, publicId and updatedAt, with building and shared getters. An answer without a mascot still parses.
  • CreateAgent.mascot (an AgentMascotInput with spec and welcomeMessage). 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 mascot building.
  • agents.updateMascot(id, UpdateAgentMascot) changes the spec, the welcome message (clearWelcomeMessage goes back to the opening line) or the sharing settings.
  • agents.generateMascot(id, GenerateAgentMascot) gives the mascot a new look and comes back with it building.
  • agents.rotateMascotPublicId(id) gives the mascot a new share id.
  • MascotSourceType is kept, now in the agent models.
  • agents.delete deletes 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, createAgent and rotatePublicId. A mascot is an animated character with an agent and knowledge base behind it; generate builds one on the server and comes back with status building. With the Mascot, CreateMascot, UpdateMascot, GenerateMascot and MascotSourceType types and the mascotsRead / mascotsWrite scopes. A mascot's spec and sharing are kept as JSON. CreateMascot takes welcomeMessage.

  • tools: list, create, retrieve, update, delete and test, with the Tool, CreateTool, UpdateTool and ToolTestResult types.

  • knowledgeBases.importFromWebsite and importFile return a KnowledgeBaseDraft without saving it; listFiles, addFiles, addFileFromUrl, retrieveFile and deleteFile manage 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, as CarrierNumbers.
  • sipTrunks.searchAvailableNumbers(id, country: ..., type: ..., contains: ...) finds numbers the carrier will sell, as AvailablePhoneNumbers 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 a PurchasedPhoneNumber. The carrier bills the account; Wixzel sells no numbers. An Idempotency-Key is generated unless you pass idempotencyKey, so a retry never buys twice. It needs the new ApiScope.phoneNumbersPurchase.
  • SipTrunk gains carrier and canBuyNumbers, and there is a NumberType enum.

Cloned voices.

  • client.voices: list, create, retrieve, preview, update and delete, with Voice, VoiceProvider, VoiceSample, CreateVoice and UpdateVoice. They need the new ApiScope.voicesRead and ApiScope.voicesWrite.
  • CreateVoice.files sends the recordings as multipart/form-data; CreateVoice.urls sends 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.
  • preview returns the clip as a Uint8List of mp3.
  • UsageComponent.voiceClone.
  • Transport can send a MultipartBody and return bytes (requestBytes). http_parser is now a direct dependency; it was already there through http.

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_voice and import package: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 now https://api.voice.wixzel.com. https://api.phone.wixzel.com keeps serving, so wixzel_phone 0.3.0 and earlier keep working without a change.
  • Requests send User-Agent: wixzel-voice/0.4.0 and X-Wixzel-Client: wixzel-voice-dart/0.4.0, and error messages the SDK raises itself begin wixzel_voice:.

0.3.0 #

Realtime: talk to an agent from a Flutter or Dart app, with no SIP trunk.

  • client.realtime.createSession() with CreateRealtimeSession and RealtimeSession — server-side. Mints a one-minute, single-use client secret for wss /v1/realtime.
  • RealtimeConnection — the protocol client, over web_socket_channel: sendAudio, a typed events stream (RealtimeStarted, RealtimeAudio, RealtimeAudioClear, RealtimeTranscript, RealtimeWarning, RealtimeError, RealtimeEnded), end() and the close code. Microphone and speaker stay with the app; pcm16ToMulaw and mulawToPcm16 convert.
  • Call.channel (phone or web).
  • 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, test and deliveries, with WebhookEvent, Webhook, UpdateWebhook, WebhookSecret and WebhookDelivery. A singleton, so there is no list.
  • client.engines.languages() and client.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.

1
likes
160
points
174
downloads

Documentation

Documentation
API reference

Publisher

verified publisheraqeelshamz.com

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

Topics

#voice-ai #telephony #flutter #sip #ai-agents

License

MIT (license)

Dependencies

http, http_parser, web_socket_channel

More

Packages that depend on wixzel_voice