hermosodocs

send_messenger_marketing_message

Send a paid Messenger marketing message destructive

Area: MESSENGER MARKETING MESSAGES · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Send a PAID marketing message on Messenger to opted-in subscribers (Meta act_<AD>/messages). A campaign created in the last ~hour answers 2300012 then 2300041 (Meta still preparing it) with the seconds left; prefer an existing campaign from list_messenger_marketing_campaigns. One message per subscriber per 12 hours — Meta’s rule, enforced before dispatch and by Meta. message.type: text | button (text + up to 3 web_url buttons) | generic (a card: title, subtitle, image, tap-through url, up to 3 buttons) | media (imageUrl or videoId + buttons). Give subscriptionTokens (≤200 per call, from list_messenger_subscribers) OR customAudienceId of a MESSENGER_SUBSCRIBER_LIST audience of 100+ people for a bulk send. Meta bills the ad account per delivered message. A successful send means ACCEPTED, not delivered: read sent / delivered / read / clicked / failed per tracking id with get_messenger_marketing_message_status (Meta pushes them on the Page webhook; the Page must be subscribed with subscribe_meta_webhooks fields ["marketing_messages"]). dryRun:true previews the wire body and sends nothing. Meta’s frequency caps are silent: a refusal saying the person is capped is Meta protecting them, not a broken send.

Parameters

ParameterTypeDescription
adAccountIdrequiredstringad account id (act_ prefix or digits)
campaignIdrequiredstringthe message campaign id (from create_messenger_marketing_campaign or list_messenger_marketing_campaigns) — OR the campaign NAME as the user said it: a non-numeric value is resolved against the account's own campaigns, so you never need to ask for an id
campaignNamestringthe campaign by NAME instead of id (case-insensitive, exactly one match wins; none or several is refused naming the campaigns that exist)
subscriptionTokensstring[]subscriber tokens to send to, up to 200 per call; from list_messenger_subscribers
customAudienceIdstringMESSENGER_SUBSCRIBER_LIST audience of 100+ people, for a bulk send
messagerequiredobjectthe message to send: {type, text, title, subtitle, imageUrl, videoId, url, buttons}
message.typerequired"text" | "button" | "generic" | "media"text, button (text plus up to 3 web buttons), generic (card), or media (image or video plus buttons)
message.textstringbody text for text and button messages
message.titlestringcard title for a generic message
message.subtitlestringcard subtitle for a generic message
message.imageUrlstringimage URL for a generic card or media message
message.videoIdstringvideo id for a media message, instead of imageUrl
message.urlstringcard tap-through URL
message.buttonsobject[]up to 3 web-link buttons on the message
message.buttons[].titlerequiredstringbutton label shown to the person
message.buttons[].urlrequiredstringhttps link the button opens
minConversationGapSecondsnumberhold the send if the person chatted with the Page within this many seconds
dryRunbooleantrue = preview the request body and send nothing

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/send_messenger_marketing_message.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_messenger_marketing_message","arguments":{"adAccountId":"<string>","campaignId":"<string>","message":"<object>"}}}

CLI

hermoso call send_messenger_marketing_message --json '{"adAccountId":"<string>","campaignId":"<string>","message":"<object>"}'

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.

All 759 Ad campaign management tools · tools.json