Ga naar de inhoud
AchaduDevelopers
Operationele APIGa naar website
Dashboard
Achadu/Developers/CLI

De Achadu in de terminal en in uw pijplijn.

Een lichtgewicht client om de bewerking op te vragen, koppelingen te converteren en agenten te configureren.

Installatie

Vereist Node.js 20 of hoger. Het bestand wordt bij elke build gesynchroniseerd met de API.

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

Authenticatie

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

Lokale configuratie krijgt toestemming 0600. Op servers en CI geeft u de voorkeur aan ACHADU_API_KEY.

Commando's

achadu meAccountidentiteit
achadu offers list|get|createAanbiedingen
achadu groups listGroepen
achadu segments listSegmenten
achadu coupons listCoupons
achadu templates listSjablonen
achadu publications listPublicaties
achadu schedules listAgenda
achadu monitors listRadar
achadu commissions listCommissies
achadu store getWinkel
achadu journeys listReizen
achadu inbox listPostvak IN
achadu analyticsSamenvatting
achadu analytics timeseriesDagelijkse serie
achadu links convert URLConversie
achadu api get|post|patch|delete PATHUniversele toegang tot 70 bewerkingen
achadu mcp configMCP-configuratie

CI en automatisering

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

Gebruik JSON-uitvoer in scripts. Fouten gaan naar stderr en het proces retourneert code die niet nul is.