OverviewProductsPlatformsAPI ReferenceResources

Platform commands

Choose platform-specific commands for WhatsApp templates, Discord channels, Instagram stories, and Google Business Profile attributes.


Use platform-specific groups for features without a shared equivalent. Use posting commands for ordinary cross-platform publication. Authenticate and discover the connected account first.

First command

Set ACCOUNT_ID to a WhatsApp account from zernio accounts:list, then read its templates:

Terminal
zernio whatsapp:get-whats-app-templates --accountId "$ACCOUNT_ID" --pretty

The response includes template names, languages, and approval statuses. Verify these before selecting a template for a message; listing templates does not send one.

Commands

Each example below reads remote state. Select an account for that platform rather than reusing one account ID across platforms.

TaskCommandRequired input and result
Read WhatsApp templateszernio whatsapp:get-whats-app-templates --accountId "$ACCOUNT_ID"WhatsApp connected-account ID; templates
Read Discord channelszernio discord:get-channels "$ACCOUNT_ID"Discord connected-account ID; channels
Read active Instagram storieszernio instagram:list-stories "$ACCOUNT_ID"Instagram connected-account ID; stories
Read Business Profile attributeszernio gmbattributes:get-google-business-attributes "$ACCOUNT_ID"Business Profile connected-account ID; attributes
Start platform authorizationzernio connect:get-url instagram --profileId "$PROFILE_ID"Profile ID; authorization URL

The templates command registers --accountId, not the API's optional template filters. Do not assume every reference query field has a CLI flag.

Find other platform commands

Run zernio --help, locate the relevant group, and ask the exact subcommand for help.

Platform taskGroupsBehavior reference
WhatsApp messaging toolswhatsapp:, whatsapptemplates:, whatsappflows:WhatsApp
WhatsApp calling and numberswhatsappcalling:, whatsappphonenumbers:, whatsappsandbox:WhatsApp
Business Profile managementgmbattributes:, gmblocationdetails:, gmbmedia:, gmbservices:, gmbverifications:Google Business Profile
Discord server actionsdiscord:Discord
X engagementtwitterengagement:X

Sending a template, modifying a location, changing roles, or interacting with another post is a write. Confirm the exact target and platform permissions before proceeding.

How it behaves

  • Account position varies: WhatsApp templates use --accountId; the Discord, Instagram, and Business Profile examples take it positionally.
  • Connected-account IDs belong to Zernio. Guild, channel, template, and other resource identifiers can belong to the platform. Discover them from the corresponding response.
  • In CLI flags that take platform values, X uses twitter; Google Business Profile uses googlebusiness.
  • Support, permissions, and availability differ by platform. Follow the linked platform guide and inspect errors rather than assuming API parity.
Was this page helpful?

On this page