CLIAPIAgentsOctober 2026
CLI commands and API routes for agents
Read and change contacts, segments, topics, broadcasts, workflows, templates, suppressions, events and the audit log from the CLI or the API with an API key.
- Run
wraps contacts,wraps segments,wraps topics,wraps broadcasts,wraps workflows,wraps eventsandwraps audit-logs, pluswraps email templates,wraps email suppressions,wraps email metrics,wraps email healthandwraps email agent approvals, to work with your organization's data from a script or an agent - Pass
--jsonto get one envelope per call with an error code and a suggestion, and page through lists with--limitand--cursor. Every error exits 1. Commands that send email, make a live change or delete data refuse to run without--yes, and deletes also take--dry-run - Call the new API routes directly:
/v1/topics,/v1/suppressions,/v1/events, contactimport,exportandvalidateunder/v1/contacts, workflow runs under/v1/workflows, and/v1/audit-logs. A route that changes data checks the same role permissions as the dashboard - Manage API keys with
wraps api-keysfrom a session signed in withwraps auth login. An API key cannot list, create or revoke keys
CLI v3.18.0

