New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@getlatedev/cli

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getlatedev/cli

CLI for Zernio - Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
3
Created
Source

Zernio CLI

Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms from the terminal.

Built for developers and AI agents. Outputs JSON by default.

Install

npm install -g @zernio/cli

Quick Start

# 1. Log in via browser (recommended)
zernio auth:login

# Or set your API key manually (get one at https://zernio.com/dashboard/api-keys)
zernio auth:set --key "sk_your-api-key"

# 2. List your accounts
zernio accounts:list --pretty

# 3. Schedule a post
zernio posts:create --text "Hello from the CLI!" --accounts <accountId> --scheduledAt "2025-06-01T10:00:00Z"

Authentication

zernio auth:login

Opens your browser to authorize the CLI. An API key is created automatically and saved to ~/.zernio/config.json. Running it again from the same device replaces the existing key.

Options:

  • --device-name <name> - Custom device name for the API key label (defaults to your hostname)

Manual API key

zernio auth:set --key "sk_your-api-key"

Verify

zernio auth:check

Commands

CommandDescription
zernio auth:loginLog in via browser
zernio auth:set --key <key>Save API key manually
zernio auth:checkVerify API key
zernio profiles:listList profiles
zernio profiles:create --name <name>Create profile
zernio profiles:get <id>Get profile
zernio profiles:update <id>Update profile
zernio profiles:delete <id>Delete profile
zernio accounts:listList social accounts
zernio accounts:get <id>Get account details
zernio accounts:healthCheck account health
zernio posts:createCreate/schedule a post
zernio posts:listList posts
zernio posts:get <id>Get post details
zernio posts:delete <id>Delete a post
zernio posts:retry <id>Retry failed post
zernio analytics:postsPost analytics
zernio analytics:dailyDaily metrics
zernio analytics:best-timeBest posting times
zernio media:upload <file>Upload media file
Inbox
zernio inbox:conversationsList DM conversations
zernio inbox:conversation <id>Get conversation details
zernio inbox:messages <id>Get messages in conversation
zernio inbox:send <id>Send a DM
zernio inbox:commentsList post comments
zernio inbox:post-comments <id>Get comments on a post
zernio inbox:reply <postId>Reply to a comment
zernio inbox:reviewsList reviews
zernio inbox:review-reply <id>Reply to a review
Contacts
zernio contacts:listList contacts
zernio contacts:createCreate a contact
zernio contacts:get <id>Get contact details
zernio contacts:update <id>Update a contact
zernio contacts:delete <id>Delete a contact
zernio contacts:channels <id>List contact channels
zernio contacts:set-field <id> <slug>Set custom field
zernio contacts:clear-field <id> <slug>Clear custom field
zernio contacts:bulk-createBulk create from JSON
Broadcasts
zernio broadcasts:listList broadcasts
zernio broadcasts:createCreate broadcast draft
zernio broadcasts:get <id>Get broadcast with stats
zernio broadcasts:update <id>Update broadcast
zernio broadcasts:delete <id>Delete broadcast
zernio broadcasts:send <id>Send immediately
zernio broadcasts:schedule <id>Schedule for later
zernio broadcasts:cancel <id>Cancel broadcast
zernio broadcasts:recipients <id>List recipients
zernio broadcasts:add-recipients <id>Add recipients
Sequences
zernio sequences:listList sequences
zernio sequences:createCreate sequence
zernio sequences:get <id>Get sequence with steps
zernio sequences:update <id>Update sequence
zernio sequences:delete <id>Delete sequence
zernio sequences:activate <id>Activate sequence
zernio sequences:pause <id>Pause sequence
zernio sequences:enroll <id>Enroll contacts
zernio sequences:unenroll <id> <contactId>Unenroll contact
zernio sequences:enrollments <id>List enrollments
Automations
zernio automations:listList comment-to-DM automations
zernio automations:createCreate automation
zernio automations:get <id>Get automation with logs
zernio automations:update <id>Update automation
zernio automations:delete <id>Delete automation
zernio automations:logs <id>List trigger logs

Configuration

Config is stored at ~/.zernio/config.json. Environment variables take precedence:

Env VarDescription
ZERNIO_API_KEYAPI key (required)
ZERNIO_API_URLCustom API base URL

Legacy env vars LATE_API_KEY / LATE_API_URL and config at ~/.late/config.json are still supported as fallbacks.

AI Agent Integration

This CLI ships with a SKILL.md file for AI agent discovery (Claude Code, OpenClaw, etc.). AI agents can use the CLI to schedule posts, manage inbox conversations, send broadcasts, run drip sequences, and set up comment-to-DM automations programmatically.

Supported Platforms

Instagram, TikTok, X (Twitter), LinkedIn, Facebook, Threads, YouTube, Bluesky, Pinterest, Reddit, Snapchat, Telegram, Google Business Profile.

License

MIT

Keywords

social-media

FAQs

Package last updated on 02 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts