--to is the recipient's user ID on the platform (a participant id from messages list). Instagram only allows replies within 24 hours of the recipient's last message; on X the recipient must accept messages from you.1akarso messages send
| Option | Default | Description |
--platform <platform> | - | Platform of the account |
--to <recipientId> | - | Recipient user ID on the platform |
--text <text> | - | Message text |
| Option | Default | Description |
--api-key [key] | - | API key (overrides AKARSO_API_KEY env and ~/.akarso/config.json) |
--api-url [url] | - | Server URL (overrides AKARSO_API_URL env, defaults to akarso.co) |
--profile [id] | - | Profile (workspace) ID to operate on, overriding the API key's pinned profile. Use profiles list to see available IDs. |
--json | - | Output raw JSON instead of YAML |
-h, --help | - | Display this message |
-v, --version | - | Display version number |
1akarso messages send --platform instagram --to 17841400000000000 --text "Thanks for reaching out!"