imessage_audience
iMessage audience and opt-in links
Description
Who the brand can iMessage, and tracked opt-in links. action list (default; status subscribed | unsubscribed, search, limit, offset): everyone on the contact list with an iMessage address, subscribed or opted out, when they last wrote, and the opt-in link that brought them. subscribe / unsubscribe { contact }: record their choice (an opted-out person is refused by send_imessage, broadcasts, groups and sequences until subscribed again; record subscribe only when they asked). create_link { body containing [opt-in-code], parameters {key: text} (e.g. campaign, leadId), optInCode? (3-8 letters/digits), from (the line people text) }: a link that opens Messages on the brand's line with the message ready; when it arrives, the person is opted in with those parameters, so the conversation is attributed to the campaign. A person writing first also gets past the provider's pacing for messages the brand starts. links: every link with opens and opt-ins. delete_link { id }. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "list" | "subscribe" | "unsubscribe" | "create_link" | "links" | "delete_link" | |
contact | string | phone number or Apple Account email |
status | "subscribed" | "unsubscribed" | |
search | string | |
limit | number | |
offset | number | |
body | string | create_link: the message, containing [opt-in-code] |
parameters | object | |
optInCode | string | |
from | string | create_link: the line people text |
id | string | |
note | string | |
provider | "sendblue" | "loopmessage" | only when both are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/imessage_audience.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"imessage_audience","arguments":{}}}
CLI
hermoso call imessage_audience --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
send_imessageSend an iMessagemanage_imessage_groupsiMessage group chatsset_softphoneBrowser softphone numbersimessage_conversationRead an iMessage conversationlist_sip_trunksList SIP trunkslist_imessage_linesList iMessage linescreate_sip_trunkCreate a SIP trunkreact_imessageReact to an iMessageupdate_sip_trunkChange a SIP trunkimessage_typingiMessage typing and read