Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Achadu/Developers/CLI

The Achadu in the terminal and in your pipeline.

A lightweight client to query the operation, convert links and configure agents.

Installation

Requires Node.js 20 or higher. The file is synchronized with the API on each build.

bash
mkdir -p ~/.local/bin
curl -fsSL https://achadu.com/downloads/achadu-cli.mjs -o ~/.local/bin/achadu
chmod +x ~/.local/bin/achadu

Authentication

bash
achadu auth set-key ach_live_...
achadu auth status

Local configuration is given permission 0600. On servers and CI, prefer ACHADU_API_KEY.

Commands

achadu meAccount identity
achadu offers list|get|createOffers
achadu groups listGroups
achadu segments listSegments
achadu coupons listCoupons
achadu templates listTemplates
achadu publications listPublications
achadu schedules listAgenda
achadu monitors listRadar
achadu commissions listCommissions
achadu store getStore
achadu journeys listJourneys
achadu inbox listInbox
achadu analyticsSummary
achadu analytics timeseriesDaily series
achadu links convert URLConversion
achadu api get|post|patch|delete PATHUniversal access to 70 operations
achadu mcp configMCP Configuration

CI and automation

bash
export ACHADU_API_KEY="ach_live_..."
achadu analytics timeseries --days 30 --json > analytics.json
--json

Use JSON output in scripts. Errors go to stderr and the process returns non-zero code.