Skip to content

v0.5.0

Latest

Choose a tag to compare

@Gabrielmoraesp Gabrielmoraesp released this 04 Sep 02:11
· 28 commits to main since this release
0e71f9b

Mirrors Wazapi Public API spec 1.1.0.

Changed

  • channel_uuid is now optional in SendMessageInput and ExecuteFlowInput. 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 with 422 channel_required. Discover the value with listChannels() or copy it from the dashboard under Settings > API.
  • sendText / sendTemplate accept null as 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_required and channel_not_found added to the error table.

Additive, non-breaking. Published to npm as @wazapi/sdk@0.5.0.

Full Changelog: 651ac5e...v0.5.0