Mirrors Wazapi Public API spec 1.1.0.
Changed
channel_uuidis now optional inSendMessageInputandExecuteFlowInput. With a single WhatsApp channel (or a single connected one) the API resolves it from the token; with several connected channels the request fails synchronously with422 channel_required. Discover the value withlistChannels()or copy it from the dashboard under Settings > API.sendText/sendTemplateacceptnullas the channel and omit the field from the request body. Callers passing a uuid are unchanged.
Docs
- Quick start no longer requires discovering a channel first.
- New "Channels" section in the README.
channel_requiredandchannel_not_foundadded to the error table.
Additive, non-breaking. Published to npm as @wazapi/sdk@0.5.0.
Full Changelog: 651ac5e...v0.5.0